[Pandas-dev] PR's soon after 0.12
Jeff Reback
jreback at yahoo.com
Mon Jul 22 21:26:25 CEST 2013
All,
a couple of big PR's that would like to merge soon after 0.12. Pls take a look and comment.
Series refactor:
https://github.com/pydata/pandas/pull/3482
comment on this pr for major refactor of Series to be a subclass of NDFrame
(and corresponding consolidation of methods et al)
Pretty much preserves all APIs (except small changes as noted) and perf.
Eval (primarily by @cpcloud):
https://github.com/pydata/pandas/pull/4164
provides a nice mechanism to evaluate directly with numexpr as well as expanded syntax
e.g.
df = DataFrame(randn(100000,2),columns=list('AB'))
df['A>0 and B>0'] (this is implemented by df.query(...))
as well as the generic: pd.eval('....')
(FYI the allowing of 'and' to be equivalent of '&') is the only real 'API' change here
in that its something that neither python nor numpy allow but makes syntax 'nicer'
thanks,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pandas-dev/attachments/20130722/dd4a53f7/attachment-0001.html>
More information about the Pandas-dev
mailing list