Permalink
Browse files

Update pandas to 0.10.0.

pkgsrc change: depend on math/py-pytables.

Changes since 0.9.1:

* Delimited file parsing engine rewritten to use a fraction of memory while
  being 40%+ faster.
- Much-improved Unicode handling via the encoding option.
- Column filtering (usecols)
- Dtype specification (dtype argument)
- Ability to specify strings to be recognized as True/False
- Ability to yield NumPy record arrays (as_recarray)
- High performance delim_whitespace option
- Decimal format (e.g. European format) specification
- Easier CSV dialect options: escapechar, lineterminator, quotechar, etc.
- More robust handling of many exceptional kinds of files observed in the wild

* API changes
- Deprecated DataFrame BINOP TimeSeries special case behavior
- Altered resample default behavior
- Infinity and negative infinity are no longer treated as NA by isnull and
  notnull.
- Methods with the inplace option now all return None instead of the calling
  object.
- pandas.merge no longer sorts the group keys (sort=False) by default.
- The default column names for a file with no header have been changed.
- Values like 'Yes' and 'No' are not interpreted as boolean by default.
- The file parsers will not recognize non-string values arising from a
  converter function as NA.
- Calling fillna on Series or DataFrame with no arguments is no longer valid
  code.
- Series.apply will now operate on a returned value from the applied function.
- New API functions for working with pandas options.

* New features
- Wide DataFrame Printing.
- Updated PyTables Support.

* Enhancements
- added ability to hierarchical keys.
- added mixed-dtype support!
- performance improvments on table writing.
- support for arbitrarily indexed dimensions.
- SparseSeries now has a density property.

* Bug fixes
- added Term method of specifying where conditions.
- del store['df'] now call store.remove('df') for store deletion.
- deleting of consecutive rows is much faster than before.
- in_itemsize parameter can be specified in table creation to force a minimum
  size for indexing columns.
- indexing support via create_table_index (requires PyTables >= 2.3)
- appending on a store would fail if the table was not first created via put.
- fixed issue with missing attributes after loading a pickled dataframe.
- minor change to select and remove: require a table ONLY if where is also
  provided.

* Compatibility
- 0.10 of HDFStore is backwards compatible for reading tables created
  in a prior version of pandas, however, query terms using the prior
  (undocumented) methodology are unsupported.

* N Dimensional Panels (Experimental)
  • Loading branch information...
1 parent f8df30d commit 73842030624b6d1f15ab3b3e113bed24a6adecd3 bad committed Jan 7, 2013
Showing with 53 additions and 32 deletions.
  1. +3 −2 math/py-pandas/Makefile
  2. +46 −3 math/py-pandas/PLIST
  3. +4 −5 math/py-pandas/distinfo
  4. +0 −22 math/py-pandas/patches/patch-pandas-src-tseries.c
View
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2012/11/22 00:15:13 bad Exp $
+# $NetBSD: Makefile,v 1.2 2013/01/07 23:18:35 bad Exp $
-DISTNAME= pandas-0.9.1
+DISTNAME= pandas-0.10.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math graphics python
MASTER_SITES= http://pypi.python.org/packages/source/p/pandas/
@@ -13,6 +13,7 @@ LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-dateutil>=1.5:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-pytz>=1.5:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-scipy>=0.7:../../math/py-scipy
+DEPENDS+= ${PYPKGPREFIX}-pytables>=2.2:../../math/py-pytables
PYDISTUTILSPKG= yes
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
View
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2012/11/22 00:15:13 bad Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/01/07 23:18:35 bad Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -8,9 +8,9 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pandas/__init__.py
${PYSITELIB}/pandas/__init__.pyc
${PYSITELIB}/pandas/__init__.pyo
-${PYSITELIB}/pandas/_algos.so
-${PYSITELIB}/pandas/_period.so
+${PYSITELIB}/pandas/_parser.so
${PYSITELIB}/pandas/_sparse.so
+${PYSITELIB}/pandas/algos.so
${PYSITELIB}/pandas/compat/__init__.py
${PYSITELIB}/pandas/compat/__init__.pyc
${PYSITELIB}/pandas/compat/__init__.pyo
@@ -32,6 +32,12 @@ ${PYSITELIB}/pandas/core/categorical.pyo
${PYSITELIB}/pandas/core/common.py
${PYSITELIB}/pandas/core/common.pyc
${PYSITELIB}/pandas/core/common.pyo
+${PYSITELIB}/pandas/core/config.py
+${PYSITELIB}/pandas/core/config.pyc
+${PYSITELIB}/pandas/core/config.pyo
+${PYSITELIB}/pandas/core/config_init.py
+${PYSITELIB}/pandas/core/config_init.pyc
+${PYSITELIB}/pandas/core/config_init.pyo
${PYSITELIB}/pandas/core/daterange.py
${PYSITELIB}/pandas/core/daterange.pyc
${PYSITELIB}/pandas/core/daterange.pyo
@@ -71,6 +77,12 @@ ${PYSITELIB}/pandas/core/nanops.pyo
${PYSITELIB}/pandas/core/panel.py
${PYSITELIB}/pandas/core/panel.pyc
${PYSITELIB}/pandas/core/panel.pyo
+${PYSITELIB}/pandas/core/panel4d.py
+${PYSITELIB}/pandas/core/panel4d.pyc
+${PYSITELIB}/pandas/core/panel4d.pyo
+${PYSITELIB}/pandas/core/panelnd.py
+${PYSITELIB}/pandas/core/panelnd.pyc
+${PYSITELIB}/pandas/core/panelnd.pyo
${PYSITELIB}/pandas/core/reshape.py
${PYSITELIB}/pandas/core/reshape.pyc
${PYSITELIB}/pandas/core/reshape.pyo
@@ -83,18 +95,26 @@ ${PYSITELIB}/pandas/core/sparse.pyo
${PYSITELIB}/pandas/core/strings.py
${PYSITELIB}/pandas/core/strings.pyc
${PYSITELIB}/pandas/core/strings.pyo
+${PYSITELIB}/pandas/hashtable.so
+${PYSITELIB}/pandas/index.so
${PYSITELIB}/pandas/info.py
${PYSITELIB}/pandas/info.pyc
${PYSITELIB}/pandas/info.pyo
${PYSITELIB}/pandas/io/__init__.py
${PYSITELIB}/pandas/io/__init__.pyc
${PYSITELIB}/pandas/io/__init__.pyo
+${PYSITELIB}/pandas/io/auth.py
+${PYSITELIB}/pandas/io/auth.pyc
+${PYSITELIB}/pandas/io/auth.pyo
${PYSITELIB}/pandas/io/data.py
${PYSITELIB}/pandas/io/data.pyc
${PYSITELIB}/pandas/io/data.pyo
${PYSITELIB}/pandas/io/date_converters.py
${PYSITELIB}/pandas/io/date_converters.pyc
${PYSITELIB}/pandas/io/date_converters.pyo
+${PYSITELIB}/pandas/io/ga.py
+${PYSITELIB}/pandas/io/ga.pyc
+${PYSITELIB}/pandas/io/ga.pyo
${PYSITELIB}/pandas/io/parsers.py
${PYSITELIB}/pandas/io/parsers.pyc
${PYSITELIB}/pandas/io/parsers.pyo
@@ -108,16 +128,27 @@ ${PYSITELIB}/pandas/io/tests/__init__.py
${PYSITELIB}/pandas/io/tests/__init__.pyc
${PYSITELIB}/pandas/io/tests/__init__.pyo
${PYSITELIB}/pandas/io/tests/legacy.h5
+${PYSITELIB}/pandas/io/tests/legacy_table.h5
+${PYSITELIB}/pandas/io/tests/rossi_small.csv
${PYSITELIB}/pandas/io/tests/salary.table
${PYSITELIB}/pandas/io/tests/test.xls
${PYSITELIB}/pandas/io/tests/test.xlsx
${PYSITELIB}/pandas/io/tests/test1.csv
${PYSITELIB}/pandas/io/tests/test2.csv
${PYSITELIB}/pandas/io/tests/test2.xls
${PYSITELIB}/pandas/io/tests/test3.xls
+${PYSITELIB}/pandas/io/tests/test_cparser.py
+${PYSITELIB}/pandas/io/tests/test_cparser.pyc
+${PYSITELIB}/pandas/io/tests/test_cparser.pyo
${PYSITELIB}/pandas/io/tests/test_date_converters.py
${PYSITELIB}/pandas/io/tests/test_date_converters.pyc
${PYSITELIB}/pandas/io/tests/test_date_converters.pyo
+${PYSITELIB}/pandas/io/tests/test_excel.py
+${PYSITELIB}/pandas/io/tests/test_excel.pyc
+${PYSITELIB}/pandas/io/tests/test_excel.pyo
+${PYSITELIB}/pandas/io/tests/test_ga.py
+${PYSITELIB}/pandas/io/tests/test_ga.pyc
+${PYSITELIB}/pandas/io/tests/test_ga.pyo
${PYSITELIB}/pandas/io/tests/test_parsers.py
${PYSITELIB}/pandas/io/tests/test_parsers.pyc
${PYSITELIB}/pandas/io/tests/test_parsers.pyo
@@ -127,9 +158,11 @@ ${PYSITELIB}/pandas/io/tests/test_pytables.pyo
${PYSITELIB}/pandas/io/tests/test_sql.py
${PYSITELIB}/pandas/io/tests/test_sql.pyc
${PYSITELIB}/pandas/io/tests/test_sql.pyo
+${PYSITELIB}/pandas/io/tests/test_utf16.csv
${PYSITELIB}/pandas/io/tests/test_yahoo.py
${PYSITELIB}/pandas/io/tests/test_yahoo.pyc
${PYSITELIB}/pandas/io/tests/test_yahoo.pyo
+${PYSITELIB}/pandas/io/tests/utf16_ex.txt
${PYSITELIB}/pandas/lib.so
${PYSITELIB}/pandas/rpy/__init__.py
${PYSITELIB}/pandas/rpy/__init__.pyc
@@ -255,6 +288,9 @@ ${PYSITELIB}/pandas/tests/test_algos.pyo
${PYSITELIB}/pandas/tests/test_common.py
${PYSITELIB}/pandas/tests/test_common.pyc
${PYSITELIB}/pandas/tests/test_common.pyo
+${PYSITELIB}/pandas/tests/test_config.py
+${PYSITELIB}/pandas/tests/test_config.pyc
+${PYSITELIB}/pandas/tests/test_config.pyo
${PYSITELIB}/pandas/tests/test_factor.py
${PYSITELIB}/pandas/tests/test_factor.pyc
${PYSITELIB}/pandas/tests/test_factor.pyo
@@ -285,6 +321,12 @@ ${PYSITELIB}/pandas/tests/test_ndframe.pyo
${PYSITELIB}/pandas/tests/test_panel.py
${PYSITELIB}/pandas/tests/test_panel.pyc
${PYSITELIB}/pandas/tests/test_panel.pyo
+${PYSITELIB}/pandas/tests/test_panel4d.py
+${PYSITELIB}/pandas/tests/test_panel4d.pyc
+${PYSITELIB}/pandas/tests/test_panel4d.pyo
+${PYSITELIB}/pandas/tests/test_panelnd.py
+${PYSITELIB}/pandas/tests/test_panelnd.pyc
+${PYSITELIB}/pandas/tests/test_panelnd.pyo
${PYSITELIB}/pandas/tests/test_reshape.py
${PYSITELIB}/pandas/tests/test_reshape.pyc
${PYSITELIB}/pandas/tests/test_reshape.pyo
@@ -413,6 +455,7 @@ ${PYSITELIB}/pandas/tseries/tools.pyo
${PYSITELIB}/pandas/tseries/util.py
${PYSITELIB}/pandas/tseries/util.pyc
${PYSITELIB}/pandas/tseries/util.pyo
+${PYSITELIB}/pandas/tslib.so
${PYSITELIB}/pandas/util/__init__.py
${PYSITELIB}/pandas/util/__init__.pyc
${PYSITELIB}/pandas/util/__init__.pyo
View
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.1 2012/11/22 00:15:13 bad Exp $
+$NetBSD: distinfo,v 1.2 2013/01/07 23:18:35 bad Exp $
-SHA1 (pandas-0.9.1.tar.gz) = 296e5bb0c08e01805112b7bc66edf6402fab2b75
-RMD160 (pandas-0.9.1.tar.gz) = 4e0c1682803535e1b1557cbb0763f4e70cc3227d
-Size (pandas-0.9.1.tar.gz) = 2284689 bytes
-SHA1 (patch-pandas-src-tseries.c) = 00a2971e1070932b2af3ca05fc5bdb700a28ac4b
+SHA1 (pandas-0.10.0.tar.gz) = 92fb8e996910e63f5583640404a124c83ce73ab4
+RMD160 (pandas-0.10.0.tar.gz) = da485444ba0b10979ed7ebecdbd2e184d123e0ca
+Size (pandas-0.10.0.tar.gz) = 2842342 bytes
@@ -1,22 +0,0 @@
-$NetBSD: patch-pandas-src-tseries.c,v 1.1 2012/11/22 00:15:13 bad Exp $
-
---- pandas/src/tseries.c.orig 2012-11-15 00:20:20.000000000 +0000
-+++ pandas/src/tseries.c 2012-11-20 22:58:37.000000000 +0000
-@@ -151203,7 +151203,7 @@
- * cdef int64_t _NS_UPPER_BOUND = -9223372036854775807LL
- *
- */
-- __pyx_v_6pandas_3lib__NS_LOWER_BOUND = -9223285636854775809;
-+ __pyx_v_6pandas_3lib__NS_LOWER_BOUND = -9223285636854775809LL;
-
- /* "/home/wesm/code/pandas/pandas/src/datetime.pyx":665
- *
-@@ -151212,7 +151212,7 @@
- *
- * cdef inline _check_dts_bounds(int64_t value, pandas_datetimestruct *dts):
- */
-- __pyx_v_6pandas_3lib__NS_UPPER_BOUND = -9223372036854775807;
-+ __pyx_v_6pandas_3lib__NS_UPPER_BOUND = -9223372036854775807LL;
-
- /* "/home/wesm/code/pandas/pandas/src/datetime.pyx":745
- * raise ValueError('Unable to parse %s' % str(val))

0 comments on commit 7384203

Please sign in to comment.