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: 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; '>>': 0.16; '"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>': 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; '>': 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: References: Date: Sun, 19 Oct 2014 15:57:27 -0400 Subject: Re: Question about PANDAS From: Ryan Shuell To: Joel Goldstick Content-Type: multipart/alternative; boundary=089e013cb71aebd4020505cc01dc X-Mailman-Approved-At: Mon, 20 Oct 2014 09:22:24 +0200 Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 --089e013cb71aebd4020505cc01dc Content-Type: text/plain; charset=UTF-8 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 wrote: > On Sun, Oct 19, 2014 at 10:19 AM, Mark Lawrence > 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 > >> 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 > --089e013cb71aebd4020505cc01dc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

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

That's great, but it's just not very useful for = me.=C2=A0 I thought I could use Python to do screen scraping.=C2=A0 Right n= ow, I use R to do almost all my screen scraping.=C2=A0 I used to use Excel,= but r is just light years easier to use, so I'll go with that.=C2=A0 I= thought Python may be even easier to use than R, and perhaps even more pow= erful too.=C2=A0 However, since I picked up my first Python book about 3 mo= nths ago, I seem to be learning all kinds of useless things, and no practic= al things.=C2=A0 When I find cool code samples online, I can't even get= them to run.=C2=A0 Last week I found a small sample of code that supposedl= y merges data from several text files in a folder into one single file.=C2= =A0 I played with it for a couple hours, and never got it to work.=C2=A0 In= less than 15 minutes, I could have done the merging task, using Excel, Acc= ess, VB.NET, C#.NET, or even a batch file.
I guess I'll just keep reading these books.=C2=A0 I have 10 books,= and I'm most of the way throguh 4 of them.=C2=A0 So far, none are teac= hing me anything that I could use in my role managing financial assets.=C2= =A0 Maybe something will click soon.=C2=A0 I hope so.

Thanks again everyone.


On Sun, Oct 19, 2014 at 10:48 AM, Joe= l Goldstick <joel.goldstick@gmail.com> wrote:
On Sun, Oct 19, 2014 at 10:19 A= M, Mark Lawrence <breamoreboy= @yahoo.co.uk> wrote:
> On 18/10/2014 21:00, ryguy7272 wrote:
>>
>> I'm trying to install Pandas.=C2=A0 I went to this link.
>> https://pypi.python.org/pypi/pandas/0.14.1/#downloads=
>>
>> I downloaded this:=C2=A0 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):
>>=C2=A0 =C2=A0 File "C:/Python27/stock_data.py", line 3, i= n <module>
>>=C2=A0 =C2=A0 =C2=A0 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<= br> python is installed.=C2=A0 You should write your code in some directory
under your user tree.


>> I thought I just installed it!=C2=A0 Isn't that what the execu= table is for?=C2=A0 It
>> seems like 100% of my errors are with uninstalled libraries.=C2=A0= I don't
>> understand why there are so, so, so many dependencies running Pyth= on.=C2=A0 Also,
>> I don't understand why something isn't installed, right af= ter I just
>> installed it.
>>
>> Can someone please explain the logic to me?
>>
>> Thanks.
>>
>
> Have you actually run any code from the Python tutorial yet?=C2=A0 You= can do
> lots of things with Python that require no third party libraries.=C2= =A0 In fact
> many questions here go "I need a solution to this that must be in= the
> stdlib".=C2=A0 It strikes me that you're trying to enter an I= ron 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

--089e013cb71aebd4020505cc01dc--