Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43831
| From | Neil Cerutti <neilc@norwich.edu> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: anyone know pandas ? Don't understand error: NotImplementedError... |
| Date | 2013-04-18 14:07 +0000 |
| Organization | Norwich University |
| Message-ID | <atad0mFk976U1@mid.individual.net> (permalink) |
| References | <kkn2rj$tc$1@dont-email.me> <mailman.768.1366292703.3114.python-list@python.org> |
On 2013-04-18, Wayne Werner <wayne@waynewerner.com> wrote: > On Wed, 17 Apr 2013, someone wrote: > >> File "/usr/lib/pymodules/python2.7/pandas/tseries/offsets.py", line 214, in >> rule_code >> raise NotImplementedError >> NotImplementedError >> -------------------- >> >> Can anyone tell why this error appears and how to fix it? > > I don't know anything about pandas, but my recommendation? > > $ vim /usr/lib/pymodules/python2.7/pandas/tseries/offsets.py > > (or nano or emacs - whatever editor you're comfortable with). > > Go to line 214, and take a look-see at what you find. My guess is it will > be something like: > > def rule_code(): > raise NotImplementedError() > > Which is terribly unhelpful. It most likely means that the program is instantiating an abstract base class when it should be using one of its subclasses instead, e.g., BusinessDay, MonthEnd, MonthBegin, BusinessMonthEnd, etc. http://pandas.pydata.org/pandas-docs/dev/timeseries.html -- Neil Cerutti
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
anyone know pandas ? Don't understand error: NotImplementedError... someone <newsboost@gmail.com> - 2013-04-17 23:08 +0200
Re: anyone know pandas ? Don't understand error: NotImplementedError... Wayne Werner <wayne@waynewerner.com> - 2013-04-18 08:44 -0500
Re: anyone know pandas ? Don't understand error: NotImplementedError... Neil Cerutti <neilc@norwich.edu> - 2013-04-18 14:07 +0000
Re: anyone know pandas ? Don't understand error: NotImplementedError... someone <newsboost@gmail.com> - 2013-04-18 21:30 +0200
Re: anyone know pandas ? Don't understand error: NotImplementedError... someone <newsboost@gmail.com> - 2013-04-18 20:28 +0200
csiph-web