Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79306

Re: Question about PANDAS

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ryanshuell@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'tutorial': 0.03; 'url:pypi': 0.03; 'importerror:': 0.07; 'installed.': 0.07; 'subject:Question': 0.07; 'string': 0.09; 'executable': 0.09; 'guys.': 0.09; 'lawrence': 0.09; 'logic': 0.09; 'merging': 0.09; 'things,': 0.09; 'uninstalled': 0.09; 'useless': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'language.': 0.14; '&gt;&gt;': 0.16; '&quot;i': 0.16; 'before.': 0.16; 'libraries.': 0.16; 'types,': 0.16; 'folder': 0.16; 'for?': 0.16; 'so.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'module': 0.19; 'trying': 0.19; 'things.': 0.19; 'thanks.': 0.20; 'seems': 0.21; 'import': 0.22; 'email addr:gmail.com&gt;': 0.22; 'putting': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'error': 0.23; 'hours,': 0.24; 'file.': 0.24; 'cc:2**0': 0.24; 'script': 0.25; '&gt;': 0.26; 'this:': 0.26; 'downloaded': 0.26; 'skip:" 20': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'am,': 0.29; 'cool': 0.30; 'errors': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'work.': 0.31; 'went': 0.31; 'code': 0.31; 'easier': 0.31; 'that.': 0.31; 'too.': 0.31; 'file': 0.32; 'me?': 0.32; 'run': 0.32; 'text': 0.33; 'url:python': 0.33; 'running': 0.33; '(most': 0.33; 'guess': 0.33; 'link.': 0.33; 'skip:& 30': 0.33; 'third': 0.33; 'role': 0.34; 'screen': 0.34; 'maybe': 0.34; 'could': 0.34; "can't": 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'books,': 0.36; 'everyone.': 0.36; 'false': 0.36; 'minutes,': 0.36; 'done': 0.36; 'url:listinfo': 0.36; 'useful': 0.36; 'thanks': 0.36; "i'll": 0.36; 'url:org': 0.36; 'should': 0.36; 'so,': 0.37; 'two': 0.37; 'skip:& 10': 0.38; 'files': 0.38; 'fact': 0.38; 'anything': 0.39; 'recent': 0.39; 'explain': 0.39; 'skip:p 20': 0.39; 'url:mail': 0.40; 'even': 0.60; 'read': 0.60; 'access,': 0.60; 'most': 0.60; 'hope': 0.61; 'ago,': 0.61; "you're": 0.61; 'first': 0.61; 'our': 0.64; 'teaching': 0.64; 'more': 0.64; 'competition': 0.65; 'to:addr:gmail.com': 0.65; 'managing': 0.66; 'here': 0.66; 'sample': 0.67; 'url:0': 0.67; 'it!': 0.67; 'frustrated': 0.68; 'iron': 0.68; 'useful.': 0.68; 'soon.': 0.71; 'click': 0.77; '100%': 0.77; 'assets.': 0.84; 'books.': 0.84; 'excel,': 0.84; 'played': 0.84; 'vb.net,': 0.84; 'yet?': 0.84; 'joel': 0.91; 'task,': 0.91; 'url:14': 0.95; 'online,': 0.96
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MdYhO19/AMaSfNwUGTHr3Xlaw78UiTZQLVgZWsuQ7ag=; b=Yyv5KG+qgrS10d14nBq38EAgUzUf41atNOIzubARd640mh9m8wRr6+FcmbNg2MmPdO v8B1Khf5YgHAoXkT1qwWYZ1xBaKFNx18YPBAmR2LncrllzrbkUGaW+a8gsDMI3Uiupbe eyYyEZhOJ9GFdetaxWZYGegm+VtBr40lUqyi8cwrKaBxWgWJ3Ok12RHncqswMkwIsqLh k+DjQiRBLXLO8USmDXPJxv2pOiZJ1PbIccXonUC6uy9kZ0xy5aILcmV6m66XtrtwOmcj XZ5HAtknvwkI6b0+UdSZCD2nhF3by/vjgj20IebQ1M11zBsmO5ZzInxE5cDViBnzab1s xLNA==
MIME-Version 1.0
X-Received by 10.220.114.2 with SMTP id c2mr1992689vcq.56.1413748647251; Sun, 19 Oct 2014 12:57:27 -0700 (PDT)
In-Reply-To <CAPM-O+x0mLh1_06NsE3X1uXXvyCh-Bfc5LywaQxV_MnAyGjB-w@mail.gmail.com>
References <b671b46d-fc5d-4e62-89f6-12a222ce852a@googlegroups.com> <m20h9n$4t1$1@ger.gmane.org> <CAPM-O+x0mLh1_06NsE3X1uXXvyCh-Bfc5LywaQxV_MnAyGjB-w@mail.gmail.com>
Date Sun, 19 Oct 2014 15:57:27 -0400
Subject Re: Question about PANDAS
From Ryan Shuell <ryanshuell@gmail.com>
To Joel Goldstick <joel.goldstick@gmail.com>
Content-Type multipart/alternative; boundary=089e013cb71aebd4020505cc01dc
X-Mailman-Approved-At Mon, 20 Oct 2014 09:22:24 +0200
Cc "python-list@python.org" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.14991.1413789745.18130.python-list@python.org> (permalink)
Lines 212
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1413789745 news.xs4all.nl 2885 [2001:888:2000:d::a6]:52059
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:79306

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Thanks guys.  I just feel frustrated that I can't do something useful.
I'm reading all about dictionaries, and types, and touples.  Then I read
about string manipulation and loops; two of my favorite things to do.  Then
I read about logic:
-719 >= 833
False

That's great, but it's just not very useful for me.  I thought I could use
Python to do screen scraping.  Right now, I use R to do almost all my
screen scraping.  I used to use Excel, but r is just light years easier to
use, so I'll go with that.  I thought Python may be even easier to use than
R, and perhaps even more powerful too.  However, since I picked up my first
Python book about 3 months ago, I seem to be learning all kinds of useless
things, and no practical things.  When I find cool code samples online, I
can't even get them to run.  Last week I found a small sample of code that
supposedly merges data from several text files in a folder into one single
file.  I played with it for a couple hours, and never got it to work.  In
less than 15 minutes, I could have done the merging task, using Excel,
Access, VB.NET, C#.NET, or even a batch file.

I guess I'll just keep reading these books.  I have 10 books, and I'm most
of the way throguh 4 of them.  So far, none are teaching me anything that I
could use in my role managing financial assets.  Maybe something will click
soon.  I hope so.

Thanks again everyone.


On Sun, Oct 19, 2014 at 10:48 AM, Joel Goldstick <joel.goldstick@gmail.com>
wrote:

> On Sun, Oct 19, 2014 at 10:19 AM, Mark Lawrence <breamoreboy@yahoo.co.uk>
> wrote:
> > On 18/10/2014 21:00, ryguy7272 wrote:
> >>
> >> I'm trying to install Pandas.  I went to this link.
> >> https://pypi.python.org/pypi/pandas/0.14.1/#downloads
> >>
> >> I downloaded this:  pandas-0.14.1.win32-py2.7.exe (md5)
> >> I have Python27 installed.
> >>
> >> So, I run the executable and re-run my Python script and I get the same
> >> error as before.
> >>
> >>
> >> Traceback (most recent call last):
> >>    File "C:/Python27/stock_data.py", line 3, in <module>
> >>      import pandas as pd
> >> ImportError: No module named pandas
> >>
>
> What messages did you get when you run the installer?
> Most people use pip to install python packages
> Are you writing code and putting it in C:/Python27/ ? isn't that where
> python is installed.  You should write your code in some directory
> under your user tree.
>
>
> >> I thought I just installed it!  Isn't that what the executable is for?
> It
> >> seems like 100% of my errors are with uninstalled libraries.  I don't
> >> understand why there are so, so, so many dependencies running Python.
> Also,
> >> I don't understand why something isn't installed, right after I just
> >> installed it.
> >>
> >> Can someone please explain the logic to me?
> >>
> >> Thanks.
> >>
> >
> > Have you actually run any code from the Python tutorial yet?  You can do
> > lots of things with Python that require no third party libraries.  In
> fact
> > many questions here go "I need a solution to this that must be in the
> > stdlib".  It strikes me that you're trying to enter an Iron Man
> competition
> > before you can crawl.
> >
> > --
> > My fellow Pythonistas, ask not what our language can do for you, ask
> > what you can do for our language.
> >
> > Mark Lawrence
> >
> > --
> > https://mail.python.org/mailman/listinfo/python-list
>
>
>
> --
> Joel Goldstick
> http://joelgoldstick.com
> --
> https://mail.python.org/mailman/listinfo/python-list
>

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Question about PANDAS ryguy7272 <ryanshuell@gmail.com> - 2014-10-18 13:00 -0700
  Re: Question about PANDAS Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-19 15:19 +0100
  Re: Question about PANDAS Joel Goldstick <joel.goldstick@gmail.com> - 2014-10-19 10:48 -0400
  Re: Question about PANDAS Joel Goldstick <joel.goldstick@gmail.com> - 2014-10-19 16:57 -0400
    Re: Question about PANDAS Rustom Mody <rustompmody@gmail.com> - 2014-10-19 22:12 -0700
  Question about PANDAS flebber <flebber.crue@gmail.com> - 2014-10-19 20:54 -0700
  Re: Question about PANDAS Ryan Shuell <ryanshuell@gmail.com> - 2014-10-19 15:57 -0400
    Re: Question about PANDAS giacomo boffi <pecore@pascolo.net> - 2014-10-20 10:30 +0200
      Re: Question about PANDAS Johann Hibschman <jhibschman@gmail.com> - 2014-10-20 09:41 -0400
  Re: Question about PANDAS Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-20 09:18 +0100

csiph-web