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


Groups > comp.lang.python > #79298

Re: Question about PANDAS

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <joel.goldstick@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
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; 'contribute': 0.11; 'python': 0.11; 'language.': 0.14; 'before.': 0.16; 'libraries.': 0.16; 'luck,': 0.16; 'statistics,': 0.16; 'types,': 0.16; 'folder': 0.16; 'for?': 0.16; 'so.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'do.': 0.18; 'looked': 0.18; 'module': 0.19; 'trying': 0.19; 'things.': 0.19; 'thanks.': 0.20; 'seems': 0.21; 'import': 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; 'source': 0.25; 'script': 0.25; '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; 'about.': 0.31; 'though.': 0.31; 'file': 0.32; 'me?': 0.32; 'run': 0.32; 'text': 0.33; 'open': 0.33; 'url:python': 0.33; 'running': 0.33; '(most': 0.33; 'guess': 0.33; 'link.': 0.33; 'not.': 0.33; 'third': 0.33; 'moment': 0.34; '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; 'ryan': 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; 'files': 0.38; 'fact': 0.38; 'pm,': 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; 'world.': 0.61; "you're": 0.61; 'first': 0.61; 'you.': 0.62; 'our': 0.64; 'teaching': 0.64; 'more': 0.64; 'different': 0.65; 'competition': 0.65; 'world': 0.66; '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; 'to:none': 0.92; '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:cc :content-type; bh=eVrt12LriByxQzNwGhTZc1DRH4CR9oz/7rFdyAMH4DE=; b=ee4PjnVBH2jTFItY9z+iRfbepWqgGV1yyxCriLcZWeycOpChSMswxVI7EvFr99hTrD aFjiUF9rsUrxNzB5iEDWJPJvhA7sCgaqqO8fQEYpLCI4jG1k3jSObAsDzNKUt4PL8BnO HBf1oEg7lOeLLgtMfonshGReGl14AwV8UTWKjxrAJWC4Zzc8WRHWun2pikzh2ffV4gav vonSlhF0vtPYrwra/fygBTDzpN5f96W6ICRgygKYwvJsLiIGPG3Ml8NbjDw3CuvF7FCb fGwNSCuBIrTAxw18i9dUYtgrgZ0u7Kr19xt+9hCeCsG+6YSILE5C8X+4Uh4ko/MIBW+n YDKQ==
MIME-Version 1.0
X-Received by 10.140.34.208 with SMTP id l74mr3762654qgl.99.1413752237562; Sun, 19 Oct 2014 13:57:17 -0700 (PDT)
In-Reply-To <CA+2oXiS=q7bi4TfESSCgxt2b6-iksAZbXYdMUufR=HmHCO62pg@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> <CA+2oXiS=q7bi4TfESSCgxt2b6-iksAZbXYdMUufR=HmHCO62pg@mail.gmail.com>
Date Sun, 19 Oct 2014 16:57:17 -0400
Subject Re: Question about PANDAS
From Joel Goldstick <joel.goldstick@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.14988.1413752245.18130.python-list@python.org> (permalink)
Lines 115
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1413752246 news.xs4all.nl 2944 [2001:888:2000:d::a6]:56029
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:79298

Show key headers only | View raw


On Sun, Oct 19, 2014 at 3:57 PM, Ryan Shuell <ryanshuell@gmail.com> wrote:
>
> 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.

So you have a lot of experience with Microsoft world.  The Open Source
world is a different slant.  That might contribute to your
frustration.  I just looked up R, and I see it is for statistics,
which is something you also seem to know about.

I think there will come an 'aha' moment when python clicks for you.
Or maybe not.   Its a very well constructed language.

Good luck, though.
>
> 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
>
>



-- 
Joel Goldstick
http://joelgoldstick.com

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