title
stringlengths
1
185
diff
stringlengths
0
32.2M
body
stringlengths
0
123k
⌀
url
stringlengths
57
58
created_at
stringlengths
20
20
closed_at
stringlengths
20
20
merged_at
stringlengths
20
20
⌀
updated_at
stringlengths
20
20
BUG: various bug fixes for DataFrame/Series construction
diff --git a/RELEASE.rst b/RELEASE.rst index 981fa5bed257d..73f55ca6c3e29 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -22,6 +22,20 @@ Where to get it * Binary installers on PyPI: http://pypi.python.org/pypi/pandas * Documentation: http://pandas.pydata.org +**API Changes** + + - Series now automatically will try ...
0 and 1 len ndarrays not inferring dtype correctly datetimes that are single objects not inferring dtype mixed datetimes and objects (GH #2751), casting datetimes to object timedelta64 creation on series subtraction (of datetime64[ns]) astype on datetimes to object are now handled (as well as NaT conversions to np.nan)...
https://api.github.com/repos/pandas-dev/pandas/pulls/2752
2013-01-25T13:55:02Z
2013-02-10T20:39:14Z
2013-02-10T20:39:14Z
2014-06-16T01:01:22Z
BUG: DataFrame.clip arguments inconsistent (close #GH 2747)
diff --git a/RELEASE.rst b/RELEASE.rst index 981fa5bed257d..7767129de084a 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -22,6 +22,12 @@ Where to get it * Binary installers on PyPI: http://pypi.python.org/pypi/pandas * Documentation: http://pandas.pydata.org +**API Changes** + + - arguments to DataFrame.clip were i...
arguments are inconsistent to numpy and Series.clip
https://api.github.com/repos/pandas-dev/pandas/pulls/2750
2013-01-24T17:56:03Z
2013-02-10T21:21:14Z
2013-02-10T21:21:14Z
2013-02-10T21:21:52Z
Add a test case to io.test_parsers about issue #2733
diff --git a/pandas/io/tests/test_parsers.py b/pandas/io/tests/test_parsers.py index 6ecfca10c12c3..6e380bdd64099 100644 --- a/pandas/io/tests/test_parsers.py +++ b/pandas/io/tests/test_parsers.py @@ -1868,6 +1868,17 @@ def test_usecols_implicit_index_col(self): tm.assert_frame_equal(result, expected) + ...
The test case doesn't fix the issue. Just a test about the `usecols` parameter in `read_csv` when there are whitespaces in the reading data. I'm not sure the test case is worth it. Let me know.
https://api.github.com/repos/pandas-dev/pandas/pulls/2748
2013-01-24T16:18:16Z
2013-02-10T22:06:19Z
null
2014-08-04T13:02:02Z
A patch to make pandas install and use numpy if it doesn't find it on the target host
diff --git a/setup.py b/setup.py index e96772b627a9d..dabf442a8b04f 100755 --- a/setup.py +++ b/setup.py @@ -85,24 +85,13 @@ " use pip or easy_install." "\n $ pip install 'python-dateutil < 2' 'numpy'") -try: - import numpy as np -except ImportError: - nonumpy_msg ...
Pandas will normally fail to install if numpy is not installed on the target host. This should normally be resolved by specifying numpy as a dependency but Pandas will still require that numpy is installed first due to its need of the numpy include files. This patch resolves this problem by changing the way the numpy ...
https://api.github.com/repos/pandas-dev/pandas/pulls/2740
2013-01-23T19:30:53Z
2013-02-10T21:53:47Z
null
2014-06-30T05:04:02Z
ENH: add option chop_threshold to control display of small numerical values as zero
diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py index 11b5afcf39a52..65531c870744d 100644 --- a/pandas/core/config_init.py +++ b/pandas/core/config_init.py @@ -120,6 +120,12 @@ Default 80 When printing wide DataFrames, this is the width of each line. """ +pc_chop_threshold_doc = """ +: f...
Doesn't cover complex numbers for now (no formatter implemented in format.py) I think the "supress" kwd choice in numpy is not that awesome. So I borrowed `chop` from the mathematica parlance. #2734
https://api.github.com/repos/pandas-dev/pandas/pulls/2739
2013-01-23T19:16:43Z
2013-02-10T21:33:29Z
null
2014-06-12T08:13:07Z
improving docstring for swaplevel method
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index e84bc3d91fe34..16ccb9916ef2a 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3211,6 +3211,11 @@ def sortlevel(self, level=0, axis=0, ascending=True, inplace=False): def swaplevel(self, i, j, axis=0): """ Swap levels i...
fixing issue #2648
https://api.github.com/repos/pandas-dev/pandas/pulls/2737
2013-01-23T18:33:10Z
2013-02-04T11:59:47Z
null
2013-02-04T11:59:47Z
ENH: provide squeeze method for removing 1-len dimensions, close (GH #2544)
diff --git a/RELEASE.rst b/RELEASE.rst index 981fa5bed257d..e4b69488ffe9a 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -22,6 +22,19 @@ Where to get it * Binary installers on PyPI: http://pypi.python.org/pypi/pandas * Documentation: http://pandas.pydata.org +**New features** + + - added ``squeeze`` method that wil...
``` In [1]: p = Panel(randn(3,4,4),items=['ItemA','ItemB','ItemC'], ...: major_axis=date_range('20010102',periods=4), ...: minor_axis=['A','B','C','D']) ...: In [2]: p Out[2]: <class 'pandas.core.panel.Panel'> Dimensions: 3 (items) x 4 (major_axis) x 4 (minor_axi...
https://api.github.com/repos/pandas-dev/pandas/pulls/2734
2013-01-23T16:09:37Z
2013-02-10T21:31:31Z
null
2014-06-18T21:31:15Z
BUG: Mismatch between get and set behavior for slices of floating indices (fixes #2727)
diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index 6966b0ab76aed..5cbbdfcfe100e 100644 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -445,23 +445,27 @@ def _convert_to_indexer(self, obj, axis=0): if isinstance(obj, slice): ltype = labels.inferred_type - ...
fixes #2727: __NDFrameIndexer._convert_to_indexer_ modified to match behavior in __NDFrameIndexer._get_slice_axis_, new tests added to existing unit test
https://api.github.com/repos/pandas-dev/pandas/pulls/2730
2013-01-23T01:32:00Z
2013-01-30T17:45:53Z
null
2013-02-08T15:17:53Z
dataframe.convert_objects now ignores datetime64 outside supported timeperiod
diff --git a/pandas/src/inference.pyx b/pandas/src/inference.pyx index 41ac1b3f3480f..18a6d2a0a3b94 100644 --- a/pandas/src/inference.pyx +++ b/pandas/src/inference.pyx @@ -370,6 +370,7 @@ def maybe_convert_objects(ndarray[object] objects, bint try_float=0, ''' Type inference function-- convert object array t...
fixes #2722
https://api.github.com/repos/pandas-dev/pandas/pulls/2724
2013-01-22T13:52:54Z
2013-01-22T14:54:37Z
null
2014-08-14T16:13:14Z
lag_plot() accepts variable lags
diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py index 8745be6ad6a77..07d60db783d6d 100644 --- a/pandas/tests/test_graphics.py +++ b/pandas/tests/test_graphics.py @@ -160,6 +160,7 @@ def test_autocorrelation_plot(self): def test_lag_plot(self): from pandas.tools.plotting import l...
the default is still 1, so nothing should change if one wants a 'classic' lag plot
https://api.github.com/repos/pandas-dev/pandas/pulls/2723
2013-01-22T13:10:30Z
2013-02-10T21:27:11Z
null
2014-06-20T08:05:53Z
DOC: whatsnew example for PR #2595
diff --git a/doc/source/v0.10.1.txt b/doc/source/v0.10.1.txt index 8aa2dad2b35a0..a2b99bf6c4174 100644 --- a/doc/source/v0.10.1.txt +++ b/doc/source/v0.10.1.txt @@ -14,6 +14,21 @@ API changes New features ~~~~~~~~~~~~ +Datetime64[ns] columns in a DataFrame (or a Series) allow the use of ``np.nan`` to indicate a nan...
just a small whatsnew doc for the datetime64[ns] example when using np.nan to indicate NaT
https://api.github.com/repos/pandas-dev/pandas/pulls/2712
2013-01-20T04:04:05Z
2013-01-30T22:03:49Z
null
2014-06-16T01:01:37Z
value_counts() can now compute relative frequencies.
diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index 413923262c6b0..4bb990a57cb4d 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -147,7 +147,7 @@ def factorize(values, sort=False, order=None, na_sentinel=-1): return labels, uniques -def value_counts(values, sort=T...
https://api.github.com/repos/pandas-dev/pandas/pulls/2710
2013-01-19T23:49:17Z
2013-03-14T03:57:30Z
null
2014-06-14T03:07:33Z
ENH/BUG/DOC: allow propogation and coexistance of numeric dtypes
diff --git a/RELEASE.rst b/RELEASE.rst index 981fa5bed257d..5db564176959e 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -22,6 +22,42 @@ Where to get it * Binary installers on PyPI: http://pypi.python.org/pypi/pandas * Documentation: http://pandas.pydata.org +pandas 0.10.2 +============= + +**Release date:** 2013-??...
Support for numeric dtype propogation and coexistance in DataFrames. Prior to 0.10.2, numeric dtypes passed to DataFrames were always casted to `int64` or `float64`. Now, if a dtype is passed (either directly via the `dtype` keyword, a passed `ndarray`, or a passed `Series`, then it will be preserved in DataFrame opera...
https://api.github.com/repos/pandas-dev/pandas/pulls/2708
2013-01-19T21:27:44Z
2013-02-10T16:19:30Z
2013-02-10T16:19:30Z
2014-06-17T21:41:04Z
Added metadataframe.py which has MetaDataframe class. This class stores...
diff --git a/pandas/util/deletejunkme b/pandas/util/deletejunkme new file mode 100644 index 0000000000000..5773bb9e06b9b --- /dev/null +++ b/pandas/util/deletejunkme @@ -0,0 +1,4 @@ +,c11,c22,c33 +A,0.18529367226154594,0.6693404911820483,0.030617744747423785 +B,0.34920481481834037,1.296923884492839,0.43464074746062209 ...
... a dataframe and attempts to overload all operators and promote dataframe methods to object methods in hopes that users can subclass this effectively as if it were a Dataframe itself.
https://api.github.com/repos/pandas-dev/pandas/pulls/2695
2013-01-14T22:13:51Z
2013-03-14T02:29:17Z
null
2014-06-12T07:28:04Z
DOC: correct default merge suffixes: _x,_y
diff --git a/doc/source/merging.rst b/doc/source/merging.rst index 464679c0e5b01..b80947695bebd 100644 --- a/doc/source/merging.rst +++ b/doc/source/merging.rst @@ -311,7 +311,7 @@ standard database join operations between DataFrame objects: merge(left, right, how='left', on=None, left_on=None, right_on=None, ...
Fix small typo in merge documentation: change `suffixes=('.x', '.y')` to `suffixes=('_x', '_y')` to match current implementation.
https://api.github.com/repos/pandas-dev/pandas/pulls/2688
2013-01-13T23:40:38Z
2013-01-19T23:25:05Z
null
2014-07-07T14:09:13Z
BUG: series assignment with a boolean indexer
diff --git a/RELEASE.rst b/RELEASE.rst index 59a86221d14a9..3db8f5702e7bf 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -55,6 +55,7 @@ pandas 0.10.1 - Add ``logx`` option to DataFrame/Series.plot (GH2327_, #2565) - Support reading gzipped data from file-like object - ``pivot_table`` aggfunc can be anything use...
- fixed assignment with a boolean indexer and a non-scalar as the value (see below) - 2nd commit fixed the alignment issue; that is if the value is not a full series, align first (using where machinery) - add neg and inv methods - _check_bool_indexer now coerces to bool if needed (otherwise weird effects when doing neg...
https://api.github.com/repos/pandas-dev/pandas/pulls/2686
2013-01-11T16:44:55Z
2013-01-20T03:28:34Z
null
2014-06-19T13:19:40Z
TST: fix test to rely on display.encoding rather then utf8, GH2666
diff --git a/pandas/tests/test_format.py b/pandas/tests/test_format.py index 4f77da10ac257..cb92f85cad0aa 100644 --- a/pandas/tests/test_format.py +++ b/pandas/tests/test_format.py @@ -137,7 +137,7 @@ def test_to_string_repr_unicode(self): line_len = len(rs[0]) for line in rs[1:]: try: - ...
closes #2666
https://api.github.com/repos/pandas-dev/pandas/pulls/2677
2013-01-10T14:48:53Z
2013-01-10T23:24:19Z
2013-01-10T23:24:19Z
2014-06-30T00:12:03Z
BUG: HDFStore fixes
diff --git a/RELEASE.rst b/RELEASE.rst index 59a86221d14a9..245e72d6bca6e 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -52,6 +52,7 @@ pandas 0.10.1 - added method ``unique`` to select the unique values in an indexable or data column - added method ``copy`` to copy an existing store (and possibly upgrade) ...
- shape attribute on GenericStorer returns tuple correctly now (not string) - data_orientation was potentitally returning non-ints in a tuple (fixed downstream), fixes GH #2671, though fixed downstream anyhow - fix for contains with a non-natural name (GH #2694 ) - added ability to read generic PyTables flavor tables -...
https://api.github.com/repos/pandas-dev/pandas/pulls/2675
2013-01-10T12:37:24Z
2013-01-20T03:04:37Z
2013-01-20T03:04:37Z
2014-06-17T13:14:00Z
DOC: Added missing escape for a backslash
diff --git a/doc/source/io.rst b/doc/source/io.rst index 1cbdfaadbcb33..1b61de7bf8281 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -1,4 +1,3 @@ - .. _io: .. currentmodule:: pandas @@ -43,7 +42,7 @@ data into a DataFrame object. They can take a number of arguments: - ``sep`` or ``delimiter``: A delim...
This seems to be the way the RegEx was meant
https://api.github.com/repos/pandas-dev/pandas/pulls/2674
2013-01-10T10:51:18Z
2013-01-10T14:44:19Z
2013-01-10T14:44:19Z
2014-07-05T04:29:14Z
DOC: Fix grammar typo in dsintro, "a series is alike" -> "a series is like"
diff --git a/doc/source/dsintro.rst b/doc/source/dsintro.rst index 5cd5c60bbeb29..362ef8ef7d7fb 100644 --- a/doc/source/dsintro.rst +++ b/doc/source/dsintro.rst @@ -129,7 +129,7 @@ We will address array-based indexing in a separate :ref:`section <indexing>`. Series is dict-like ~~~~~~~~~~~~~~~~~~~ -A Series is alik...
Fixed a minor typo.
https://api.github.com/repos/pandas-dev/pandas/pulls/2673
2013-01-10T05:38:14Z
2013-01-10T14:44:53Z
2013-01-10T14:44:53Z
2014-07-07T20:35:40Z
add support for microsecond periods (GH2145)
diff --git a/pandas/src/datetime.pxd b/pandas/src/datetime.pxd index 1a977aab48514..9ae116b06c3b2 100644 --- a/pandas/src/datetime.pxd +++ b/pandas/src/datetime.pxd @@ -1,7 +1,5 @@ -from numpy cimport int64_t, int32_t, npy_int64, npy_int32, ndarray -from cpython cimport PyObject - -from cpython cimport PyUnicode_Check,...
(Continues #2145) Alrighty. This should be fine. There may be a few formatting changes that I rolled back through the git diff / apply patch, but all not-skipped tests pass so I figured it wasn't a big deal. Here's what I did to fix the problem, which was continually merging with upstream: ``` shell function get_my_c...
https://api.github.com/repos/pandas-dev/pandas/pulls/2670
2013-01-09T21:38:40Z
2013-04-01T02:04:24Z
null
2014-08-10T13:31:25Z
add support for microsecond periods
diff --git a/pandas/src/datetime.pxd b/pandas/src/datetime.pxd index 1a977aab48514..9ae116b06c3b2 100644 --- a/pandas/src/datetime.pxd +++ b/pandas/src/datetime.pxd @@ -1,7 +1,5 @@ -from numpy cimport int64_t, int32_t, npy_int64, npy_int32, ndarray -from cpython cimport PyObject - -from cpython cimport PyUnicode_Check,...
https://api.github.com/repos/pandas-dev/pandas/pulls/2662
2013-01-08T22:45:53Z
2013-01-08T23:53:28Z
null
2014-07-23T16:21:00Z
missing imports in tseries/tools/dateutil_parse #2658
diff --git a/pandas/tseries/tests/test_timeseries.py b/pandas/tseries/tests/test_timeseries.py index 7ecf33d7e781a..1044f25b151ce 100644 --- a/pandas/tseries/tests/test_timeseries.py +++ b/pandas/tseries/tests/test_timeseries.py @@ -1399,6 +1399,14 @@ def _simple_ts(start, end, freq='D'): class TestDatetimeIndex(unitt...
closes #2658
https://api.github.com/repos/pandas-dev/pandas/pulls/2661
2013-01-08T22:16:57Z
2013-01-10T23:31:31Z
2013-01-10T23:31:31Z
2014-07-02T12:26:03Z
DOC: Add docstring to the 'io.sql.has_table' function.
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index 61fba520c3966..75f5db35889d5 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -178,6 +178,15 @@ def write_frame(frame, name=None, con=None, flavor='sqlite', append=False): def has_table(name, con): + """ + Check if a given SQLite table exists. + +...
Hi, Just add docstring to a function in the `io.sql` module. ## Damien G.
https://api.github.com/repos/pandas-dev/pandas/pulls/2653
2013-01-07T13:11:39Z
2013-01-19T23:41:30Z
null
2014-07-07T14:09:03Z
Writing doc about I/O SQL features. See #2541
diff --git a/doc/source/io.rst b/doc/source/io.rst index c73240725887f..6abaee8f8f070 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -1251,3 +1251,102 @@ These, by default, index the three axes ``items, major_axis, minor_axis``. On an store.close() import os os.remove('store.h5') + + +.. _io.sql:...
Hi there, I wrote some contents about I/O SQL pandas features: - some examples about the `read_frame` function with SQLite ; - list other functions such as `tquery` (without example) ; - write a tiny note about `write_frame` function. I'm not sure about the title of this section. Any proposal is welcome ! Don't hesi...
https://api.github.com/repos/pandas-dev/pandas/pulls/2652
2013-01-07T13:10:10Z
2013-01-20T01:42:54Z
null
2014-07-05T04:31:15Z
TST: test for #2637
diff --git a/pandas/io/tests/test_pytables.py b/pandas/io/tests/test_pytables.py index 86b183c7bfc76..772c35d1a11a4 100644 --- a/pandas/io/tests/test_pytables.py +++ b/pandas/io/tests/test_pytables.py @@ -1378,6 +1378,14 @@ def test_select(self): expected = df[df.A > 0].reindex(columns = ['C','D']) tm...
Added test for BUG #2637
https://api.github.com/repos/pandas-dev/pandas/pulls/2638
2013-01-04T19:43:23Z
2013-01-04T20:03:04Z
null
2014-07-14T11:59:28Z
added a compression argument to to_csv to be sent to _get_handle
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 1eaa009275808..767f85d95ede5 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1343,7 +1343,7 @@ def _helper_csv(self, writer, na_rep=None, cols=None, def to_csv(self, path_or_buf, sep=",", na_rep='', float_format=None, c...
Writing csv files with gzip compression is very useful as it both minimized the disk size taken by large data files, and can be easily read by _R_, often faster than the same csv file without compression.  Reading compressed csv files in _R_ is done without any additional input by the user, and is also already supporte...
https://api.github.com/repos/pandas-dev/pandas/pulls/2636
2013-01-04T08:09:45Z
2013-07-29T05:15:16Z
null
2015-10-12T15:50:29Z
Try to fix BUG #2599
diff --git a/pandas/src/parser.pyx b/pandas/src/parser.pyx index 8ed4f0822b38c..331c9680cf114 100644 --- a/pandas/src/parser.pyx +++ b/pandas/src/parser.pyx @@ -1649,20 +1649,31 @@ def _concatenate_chunks(list chunks): #---------------------------------------------------------------------- # NA values - -na_values ...
Not sure if this is a good way to go about it, but it seems to work. Might be good to get rid of all the INT64_MAX/MIN stuff in parser.pyx and replace with np.iinfo(np.int64).max/min instead.
https://api.github.com/repos/pandas-dev/pandas/pulls/2635
2013-01-04T03:26:59Z
2013-01-05T21:21:44Z
null
2014-06-27T22:59:58Z
Autopep8
diff --git a/bench/bench_dense_to_sparse.py b/bench/bench_dense_to_sparse.py index 349d3b31e965f..f76daab5d8289 100644 --- a/bench/bench_dense_to_sparse.py +++ b/bench/bench_dense_to_sparse.py @@ -12,4 +12,3 @@ this_rng = rng2[:-i] data[100:] = np.nan series[i] = SparseSeries(data, index=this_rng) - diff...
Used [autopep8](https://github.com/hhatto/autopep8) to make all of pandas py files more PEP8 compliant (Excluding 230 `E501 lines too long` (over 80 chars), and 6 changes which had to be reverted to fix test failures - in second commit). See statistics in my comment. I iterated over every py file in the package using ...
https://api.github.com/repos/pandas-dev/pandas/pulls/2632
2013-01-03T22:39:00Z
2013-01-05T20:31:20Z
2013-01-05T20:31:20Z
2014-06-12T14:19:52Z
BUG: Series op with datetime64 values misbehaves in numpy 1.6 #2629
diff --git a/pandas/core/series.py b/pandas/core/series.py index 7dd9a84199ea8..e75471a34746a 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -42,6 +42,7 @@ _np_version = np.version.short_version _np_version_under1p6 = LooseVersion(_np_version) < '1.6' +_np_version_under1p7 = LooseVersion(_np_vers...
converts to i8 then back to timedelta64[ns] if both datetime64
https://api.github.com/repos/pandas-dev/pandas/pulls/2630
2013-01-03T20:24:17Z
2013-01-20T02:33:06Z
null
2014-06-25T19:18:04Z
BUG: fix partial date parsing occuring on certain execution dates #2618
diff --git a/RELEASE.rst b/RELEASE.rst index 3d90267b0928b..c06e827693e88 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -67,8 +67,9 @@ pandas 0.10.1 - Fix platform issues with ``file:///`` in unit test (#2564) - Fix bug and possible segfault when grouping by hierarchical level that contains NA values (GH2616...
closes #2618. when parsing partial dates, will fill in missing day as first of the month, rather then now().day
https://api.github.com/repos/pandas-dev/pandas/pulls/2620
2012-12-31T12:16:57Z
2013-03-06T20:22:32Z
null
2022-10-13T00:14:46Z
BUG: trivial fix in vb_bench/timeseries.py
diff --git a/vb_suite/timeseries.py b/vb_suite/timeseries.py index 733deb8e7f470..1727db1285cd1 100644 --- a/vb_suite/timeseries.py +++ b/vb_suite/timeseries.py @@ -211,4 +211,4 @@ def date_range(start=None, end=None, periods=None, freq=None): """ datetimeindex_unique = Benchmark('index.unique()', setup, - ...
https://api.github.com/repos/pandas-dev/pandas/pulls/2614
2012-12-29T16:49:53Z
2012-12-29T17:13:14Z
2012-12-29T17:13:14Z
2014-07-10T11:41:13Z
BUG: fixed old version compatibility warnings
diff --git a/RELEASE.rst b/RELEASE.rst index ee5bd061937b1..d45576933f941 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -34,9 +34,9 @@ pandas 0.10.1 **Improvements to existing features** - ``HDFStore`` + - enables storing of multi-index dataframes (closes GH1277_) - - support data column indexing and sele...
- added copy method to allow file upgrades to new version - refactor to add Storer class to represent all non-tables - add shape field to display for non-tables - close GH #2637
https://api.github.com/repos/pandas-dev/pandas/pulls/2607
2012-12-28T16:51:51Z
2013-01-06T04:33:36Z
2013-01-06T04:33:35Z
2014-06-24T17:11:46Z
CLN: was accidently writing to the legacy_table.h5 file
diff --git a/pandas/io/tests/legacy_table.h5 b/pandas/io/tests/legacy_table.h5 index 5f4089efc15c3..1c90382d9125c 100644 Binary files a/pandas/io/tests/legacy_table.h5 and b/pandas/io/tests/legacy_table.h5 differ diff --git a/pandas/io/tests/test_pytables.py b/pandas/io/tests/test_pytables.py index 6f11ebdaaa7b3..86b18...
https://api.github.com/repos/pandas-dev/pandas/pulls/2606
2012-12-28T15:29:19Z
2012-12-28T15:33:52Z
null
2012-12-28T15:33:52Z
BUG: provide for automatic conversion of object -> datetime64
diff --git a/pandas/core/common.py b/pandas/core/common.py index 15f6cb6412c78..c7a0dd6c6e179 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -628,6 +628,28 @@ def _consensus_name_attr(objs): #---------------------------------------------------------------------- # Lots of little utilities +def _p...
- construct series that have M8[ns] dtype even in the presence of NaN (rather than object) see below. - allow np.nan to be used in place of NaT in series construction (requires explicity dtype to be passed) e.g. `Series(np.nan,index=range(5),dtype='M8[ns]')` - bug fix in applymap (tseries/tests/test_timeseries/tes...
https://api.github.com/repos/pandas-dev/pandas/pulls/2595
2012-12-25T04:48:59Z
2012-12-28T16:40:22Z
null
2014-06-19T17:13:25Z
ENH: IO World Bank WDI
diff --git a/.travis.yml b/.travis.yml index ab36df340e1c5..e7ace279f1063 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: python python: - 2.6 - 2.7 - - 3.1 # travis will soon EOL this +# - 3.1 # travis EOL - 3.2 - 3.3 @@ -45,8 +45,10 @@ before_install: install: - echo "Waldo2"...
The World Bank's World Development Indicators (WDI) is a collection of nearly 8000 data series in country-year format. These data cover a wide range of topics (e.g. demography, economics), and they are freely available freely through the World Bank API. http://data.worldbank.org/ This PR introduces a very simple io m...
https://api.github.com/repos/pandas-dev/pandas/pulls/2592
2012-12-23T18:58:15Z
2012-12-28T16:01:42Z
null
2014-06-14T16:53:15Z
Update force_unicode documentation
diff --git a/pandas/core/format.py b/pandas/core/format.py index e185049b821dc..862dea1ba5ed4 100644 --- a/pandas/core/format.py +++ b/pandas/core/format.py @@ -55,7 +55,8 @@ index_names : bool, optional Prints the names of the indexes, default True force_unicode : bool, default False - Always...
Should resolve #2053. For consistency, I've re-added the `force_unicode` parameter to `to_latex()` and have it now raise a deprecation warning. I've also updated the common docstring for the `to_*` methods to have a brief explanation as to why the parameter is deprecated. There were a couple other missing deprecation...
https://api.github.com/repos/pandas-dev/pandas/pulls/2590
2012-12-23T13:10:29Z
2012-12-28T13:49:54Z
null
2012-12-28T13:49:54Z
Add some default parameters to TextParser in _parse_options_data()
diff --git a/pandas/io/data.py b/pandas/io/data.py index e4c1ae9a9817a..ef73494814f2e 100644 --- a/pandas/io/data.py +++ b/pandas/io/data.py @@ -223,7 +223,8 @@ def _parse_options_data(table): rows = table.findAll('tr') header = _unpack(rows[0], kind='th') data = [_unpack(r) for r in rows[1:]] - retur...
The Options class can return some awkward dtypes: ``` python In [1]: from pandas.io.data import * In [2]: aapl = Options('aapl') In [3]: a = aapl.get_put_data(1,2013) In [4]: a.dtypes Out[4]: Strike object Symbol object Last float64 Chg float64 Bid object Ask float6...
https://api.github.com/repos/pandas-dev/pandas/pulls/2589
2012-12-23T09:33:22Z
2012-12-28T15:09:42Z
null
2012-12-28T15:09:42Z
CLN: Remove a useless parameter in Series.iteritem method.
diff --git a/pandas/core/series.py b/pandas/core/series.py index 6cf511d32bfb3..c7f4d6e6f43b8 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -1054,7 +1054,7 @@ def __iter__(self): else: return iter(self.values) - def iteritems(self, index=True): + def iteritems(self): ...
Hi, I was reading some docstring of some `Series` & `DataFrame` methods from IPython. I wondered what the parameter `index` of the method `Series.iteritems` -- and thus the `iterkv` method -- did. I think it's not used. Tests passed. Cheers, Damien G.
https://api.github.com/repos/pandas-dev/pandas/pulls/2584
2012-12-22T18:04:37Z
2012-12-28T15:12:07Z
null
2012-12-28T15:12:07Z
Update doc/source/groupby.rst
diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst index 4a37222b6dd4c..141d3f9f6b4da 100644 --- a/doc/source/groupby.rst +++ b/doc/source/groupby.rst @@ -16,7 +16,7 @@ Group By: split-apply-combine ***************************** -By "group by" we are refer to a process involving one or more of the followi...
Fixed a small typo in the docs
https://api.github.com/repos/pandas-dev/pandas/pulls/2581
2012-12-22T05:05:07Z
2012-12-25T16:04:11Z
2012-12-25T16:04:11Z
2012-12-25T16:04:15Z
Update pandas/core/format.py
diff --git a/pandas/core/format.py b/pandas/core/format.py index e185049b821dc..10b2b0fc5f8cf 100644 --- a/pandas/core/format.py +++ b/pandas/core/format.py @@ -1442,7 +1442,7 @@ def set_eng_float_format(precision=None, accuracy=3, use_eng_prefix=False): def _put_lines(buf, lines): if any(isinstance(x, unicode)...
Fixes #2576.
https://api.github.com/repos/pandas-dev/pandas/pulls/2577
2012-12-21T16:16:49Z
2012-12-28T15:49:57Z
null
2014-08-11T01:06:12Z
remove unused kh_del, pack kh_hash flag bits
diff --git a/pandas/hashtable.pyx b/pandas/hashtable.pyx index f20462405ca21..164fc8c94924e 100644 --- a/pandas/hashtable.pyx +++ b/pandas/hashtable.pyx @@ -225,8 +225,6 @@ cdef class StringHashTable(HashTable): if k == self.table.n_buckets: k = kh_put_str(self.table, buf, &ret) ...
The kh_hash library includes the ability to delete elements, but this is not used anywhere in pandas. In the khash library, there are two flags bits for every entry: ''isempty' and 'isdel'. This change removes the support for kh_del from the khash library, allowing it to use half as many flag bits. All tests pass. ...
https://api.github.com/repos/pandas-dev/pandas/pulls/2572
2012-12-20T14:49:38Z
2012-12-28T15:27:33Z
null
2012-12-28T15:27:33Z
BUG: DatetimeIndex.unique numpy 1.6 repr #2563
diff --git a/pandas/tseries/index.py b/pandas/tseries/index.py index 07dadc66cbc33..adc3fa96b1224 100644 --- a/pandas/tseries/index.py +++ b/pandas/tseries/index.py @@ -560,6 +560,9 @@ def __contains__(self, key): except (KeyError, TypeError): return False + def unique(self): + return ...
#2563
https://api.github.com/repos/pandas-dev/pandas/pulls/2568
2012-12-19T17:26:00Z
2012-12-28T14:10:20Z
null
2014-06-23T08:06:15Z
logx for DataFrame.plot() and Series.plot()
diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py index c9444773ba5cc..e6b73dc2e77b2 100644 --- a/pandas/tools/plotting.py +++ b/pandas/tools/plotting.py @@ -1304,8 +1304,8 @@ class HistPlot(MPLPlot): def plot_frame(frame=None, x=None, y=None, subplots=False, sharex=True, sharey=False, u...
Trivial but convenient, as discussed in https://github.com/pydata/pandas/issues/2327
https://api.github.com/repos/pandas-dev/pandas/pulls/2565
2012-12-19T12:40:27Z
2012-12-28T15:22:34Z
null
2014-06-25T01:09:44Z
ENH: added support for data column queries
diff --git a/RELEASE.rst b/RELEASE.rst index 63accf42c470d..d2b9952829619 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -22,6 +22,43 @@ Where to get it * Binary installers on PyPI: http://pypi.python.org/pypi/pandas * Documentation: http://pandas.pydata.org +pandas 0.10.1 +============= + +**Release date:** 2013-??...
- can construct searches on the actual columns of the data, by passing keyword `data_columns` to `append` e.g. store.select('df_dc',[ Term('B>0'), Term('string=foo') ]) (where B and string are columns in the frame) - added `nan_rep` for supporting string columns with nan's in them - corectly determine dtype...
https://api.github.com/repos/pandas-dev/pandas/pulls/2561
2012-12-18T23:06:59Z
2012-12-28T15:07:48Z
null
2014-06-12T15:36:20Z
Update default fillna method in the docstring
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index fbf5f0eecccc2..f6d8298aa51ff 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3233,7 +3233,7 @@ def fillna(self, value=None, method=None, axis=0, inplace=False, Parameters ---------- - method : {'backfill', 'bfill'...
https://api.github.com/repos/pandas-dev/pandas/pulls/2558
2012-12-18T00:20:23Z
2012-12-18T00:39:56Z
2012-12-18T00:39:55Z
2012-12-18T00:40:05Z
Remove default method 'pad' from fillna docstring
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index fbf5f0eecccc2..5c082fd1c0fdb 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3233,7 +3233,7 @@ def fillna(self, value=None, method=None, axis=0, inplace=False, Parameters ---------- - method : {'backfill', 'bfill'...
https://api.github.com/repos/pandas-dev/pandas/pulls/2557
2012-12-17T23:56:18Z
2012-12-18T00:21:16Z
null
2012-12-18T00:21:16Z
ENH: support for nanosecond time in offset and period
This is my attempt to fix the so far missing nanosecond support for pd.DatetimeIndex (see issue #1812). The Python modification should be relatively easy to review, but unfortunately I had to do a bigger refactoring of period.c in order to support subsecond times. Im still working on adding more tests and I will try ...
https://api.github.com/repos/pandas-dev/pandas/pulls/2555
2012-12-17T20:13:15Z
2013-03-14T11:37:05Z
2013-03-14T11:37:04Z
2014-06-21T02:43:58Z
New Pandas Cheat Sheet
diff --git a/doc/source/cheatsheet.txt b/doc/source/cheatsheet.txt new file mode 100644 index 0000000000000..90fe804a9d552 --- /dev/null +++ b/doc/source/cheatsheet.txt @@ -0,0 +1,106 @@ +# +# Pandas cheatsheet +# - created during the PyData Workshop-Sprint 2012 +# - Hannah Chen, Henry Chow, Eric Cox, Robert Mau...
Pandas cheatsheet - created during the PyData Workshop-Sprint 2012 - Hannah Chen, Henry Chow, Eric Cox, Robert Mauriello
https://api.github.com/repos/pandas-dev/pandas/pulls/2552
2012-12-17T00:56:32Z
2013-07-29T05:13:49Z
null
2017-03-02T10:36:16Z
BUG: fixed DataFrame.to_records() error with datetime64, #1908
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index fbf5f0eecccc2..a633bcf96c975 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1066,8 +1066,11 @@ def to_records(self, index=True): y : recarray """ if index: - arrays = [self.index.values] + [self[c].val...
https://api.github.com/repos/pandas-dev/pandas/pulls/2551
2012-12-16T22:30:37Z
2012-12-18T00:34:24Z
null
2012-12-18T00:38:42Z
BUG: Pytables minor changes 2
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index a507ca83c382d..175845fd38a2b 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -959,10 +959,10 @@ def infer(self, table): new_self.get_attr() return new_self - def convert(self, sel): + def convert(self, values): ...
ordering in returned data on an index axis if the selection (Term) has a lot of values e.g. had > 61 fields that were specified in a Term (weird but true)
https://api.github.com/repos/pandas-dev/pandas/pulls/2545
2012-12-16T00:50:02Z
2012-12-16T17:34:32Z
null
2014-06-26T11:25:39Z
Fix compilation on MSVC, signbit not in math.h
diff --git a/pandas/algos.pyx b/pandas/algos.pyx index 62a38cd78c3b3..0d7006f08111b 100644 --- a/pandas/algos.pyx +++ b/pandas/algos.pyx @@ -40,7 +40,7 @@ cdef inline int int_max(int a, int b): return a if a >= b else b cdef inline int int_min(int a, int b): return a if a <= b else b -cdef extern from "math.h": +c...
Another MSVC hack, this time to deal with the fact that signbit is not in math.h. By using the _copysign, you can avoid potential issues with "negative zeros"
https://api.github.com/repos/pandas-dev/pandas/pulls/2540
2012-12-15T03:36:15Z
2012-12-15T21:09:53Z
null
2014-06-27T11:49:27Z
BUG: pytables minor changes
diff --git a/doc/source/io.rst b/doc/source/io.rst index 6d3d2996453a1..eac64eae1e5ab 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -1140,7 +1140,7 @@ Queries are built up using a list of ``Terms`` (currently only **anding** of ter store.append('wp',wp) store - store.select('wp',[ 'major_axis>20...
- ENH: moved Term to top-level panas namespace (like HDFStore) - BUG: writing a Panel4D in cython (lib.pyx) - BUG: interpreting axes paremeter to orient data - BUG/ENH: allow appending of a different order of non_index_axes data which then is ordered according to on-disk data - DOC: explanation of how to orient data...
https://api.github.com/repos/pandas-dev/pandas/pulls/2536
2012-12-14T17:17:34Z
2012-12-15T22:28:56Z
2012-12-15T22:28:56Z
2014-06-17T10:09:37Z
ENH: df.select uses bool(crit(x)) rather then crit(x)
diff --git a/RELEASE.rst b/RELEASE.rst index 93941ebf11450..0d4d6670c6591 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -170,6 +170,7 @@ pandas 0.10.0 - Optimize ``unstack`` memory usage by compressing indices (GH2278_) - Fix HTML repr in IPython qtconsole if opening window is small (GH2275_) - Escape more spe...
closes #2487
https://api.github.com/repos/pandas-dev/pandas/pulls/2532
2012-12-14T03:27:16Z
2012-12-14T03:41:44Z
null
2014-06-23T02:50:20Z
Weighted mean
diff --git a/pandas/algos.pyx b/pandas/algos.pyx index 664067c55222c..cc52f20b27e2d 100644 --- a/pandas/algos.pyx +++ b/pandas/algos.pyx @@ -64,6 +64,16 @@ tiebreakers = { } +ctypedef fused numeric_t: + float64_t + int64_t + int32_t + +ctypedef fused weight_t: + float64_t + int64_t + int32_t + #...
https://api.github.com/repos/pandas-dev/pandas/pulls/2531
2012-12-14T03:15:44Z
2014-03-09T15:06:03Z
null
2014-06-26T17:08:34Z
DOC: add FAQ section on monkey-patching
diff --git a/doc/source/faq.rst b/doc/source/faq.rst index 2a3620f8ae50c..16c7972bd3fb3 100644 --- a/doc/source/faq.rst +++ b/doc/source/faq.rst @@ -21,6 +21,47 @@ Frequently Asked Questions (FAQ) import matplotlib.pyplot as plt plt.close('all') +.. _ref-monkey-patching: + + +---------------------------------...
Added the requisite caveats,
https://api.github.com/repos/pandas-dev/pandas/pulls/2530
2012-12-14T02:58:38Z
2012-12-14T03:45:44Z
null
2014-06-26T11:13:16Z
TST: refactoring to speed up test suite
diff --git a/pandas/stats/tests/test_moments.py b/pandas/stats/tests/test_moments.py index 788219be8bab6..10ebb6c4aa274 100644 --- a/pandas/stats/tests/test_moments.py +++ b/pandas/stats/tests/test_moments.py @@ -20,6 +20,8 @@ class TestMoments(unittest.TestCase): + _multiprocess_can_split_ = True + _nan_l...
also marked a few tests as slow
https://api.github.com/repos/pandas-dev/pandas/pulls/2529
2012-12-13T21:57:31Z
2012-12-13T22:47:43Z
null
2014-06-27T11:27:29Z
ENH: vbench support for HDFStore
diff --git a/vb_suite/hdfstore_bench.py b/vb_suite/hdfstore_bench.py new file mode 100644 index 0000000000000..d43d8b60a9cf0 --- /dev/null +++ b/vb_suite/hdfstore_bench.py @@ -0,0 +1,222 @@ +from vbench.api import Benchmark +from datetime import datetime + +start_date = datetime(2012,7,1) + +common_setup = """from pand...
added benchmarcks to compare (100,000) rows: - read/write store - read/write store mixed - read/write table - read/write table wide (200 columns) - read/write table mixed - query wide/table
https://api.github.com/repos/pandas-dev/pandas/pulls/2528
2012-12-13T21:55:21Z
2012-12-13T22:52:58Z
null
2014-06-26T11:13:06Z
A typo for a DataFrame method
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index cba175025848f..7d89ede62f196 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -444,7 +444,7 @@ maximum value for each column occurred: tsdf = DataFrame(randn(1000, 3), columns=['A', 'B', 'C'], index=date_range('...
Hi there, I was reading this useful and very good doc. I saw an 'argmax' instead of 'idxmax' in the 'Essential basic functionality' part. See you. Damien
https://api.github.com/repos/pandas-dev/pandas/pulls/2522
2012-12-13T17:58:52Z
2012-12-13T18:13:17Z
null
2013-07-13T19:57:54Z
Fixed DataFrame.any() docstring
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 3f555c800d1eb..b73d411354989 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -4546,7 +4546,7 @@ def any(self, axis=0, bool_only=None, skipna=True, level=None): def all(self, axis=0, bool_only=None, skipna=True, level=None): "...
Used to be the same as DataFrame.all
https://api.github.com/repos/pandas-dev/pandas/pulls/2519
2012-12-13T15:12:09Z
2012-12-13T15:33:21Z
2012-12-13T15:33:21Z
2013-08-20T22:01:02Z
BUG: df.from_dict should respect OrderedDict
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 95b5f397ae1be..f6893e1b6ac3c 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -30,6 +30,7 @@ from pandas.core.internals import BlockManager, make_block, form_blocks from pandas.core.series import Series, _radd_compat, _dtype_from_scalar fr...
related #2517
https://api.github.com/repos/pandas-dev/pandas/pulls/2518
2012-12-13T10:43:30Z
2012-12-13T22:59:36Z
null
2014-06-19T10:31:02Z
add option_context context manager
diff --git a/RELEASE.rst b/RELEASE.rst index 26f3265029696..890425b729324 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -99,7 +99,7 @@ pandas 0.10.0 instead. This is a legacy hack and can lead to subtle bugs. - inf/-inf are no longer considered as NA by isnull/notnull. To be clear, this is legacy cruft fro...
#2507 (partial) best merge this soonish to save constant rebasing and conflicts. rebased on top of #2504
https://api.github.com/repos/pandas-dev/pandas/pulls/2516
2012-12-13T08:15:27Z
2012-12-13T14:50:39Z
2012-12-13T14:50:39Z
2014-07-11T02:59:46Z
BUG: fix type spec bug in roll_window
diff --git a/ci/install.sh b/ci/install.sh index 139382960b81a..089c79aeb55cd 100755 --- a/ci/install.sh +++ b/ci/install.sh @@ -39,6 +39,7 @@ if [ x"$FULL_DEPS" == x"true" ]; then pip install $PIP_ARGS --use-mirrors openpyxl pytz matplotlib; pip install $PIP_ARGS --use-mirrors xlrd xlwt; + pip install $PIP...
https://api.github.com/repos/pandas-dev/pandas/pulls/2508
2012-12-12T16:42:33Z
2012-12-12T16:44:47Z
null
2014-06-30T15:08:57Z
vivify issue links in RELEASE.rst
diff --git a/RELEASE.rst b/RELEASE.rst index 26f3265029696..680eaec23cf1d 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -31,7 +31,7 @@ pandas 0.10.0 - Brand new high-performance delimited file parsing engine written in C and Cython. 50% or better performance in many standard use cases with a - fraction as ...
rebased on top of #2504, merge that first. see here: https://github.com/y-p/pandas/blob/prettify_release/RELEASE.rst related #842.
https://api.github.com/repos/pandas-dev/pandas/pulls/2505
2012-12-12T14:07:57Z
2012-12-13T14:52:22Z
null
2012-12-13T14:52:22Z
option callback on value change, use an option to control use_inf_as_null
diff --git a/RELEASE.rst b/RELEASE.rst index 26f3265029696..890425b729324 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -99,7 +99,7 @@ pandas 0.10.0 instead. This is a legacy hack and can lead to subtle bugs. - inf/-inf are no longer considered as NA by isnull/notnull. To be clear, this is legacy cruft fro...
I'm not married to the "mode.X" option key, but be aware that the dynamic generated docstrings for the options API favour a small number of top level keys with multiple keys under them and so i consolidated `test.interactive` into `mode.sim_interactive`. Some sane taxonomy needs to be established early on to keep thin...
https://api.github.com/repos/pandas-dev/pandas/pulls/2504
2012-12-12T11:36:20Z
2012-12-13T14:50:39Z
2012-12-13T14:50:39Z
2014-07-08T14:50:42Z
BLD: travis deps (stats,timeseries, pytables on py2.x), clean setup.py, nose tricks
diff --git a/.gitignore b/.gitignore index fbf28ba50f2c5..b388d94ba9052 100644 --- a/.gitignore +++ b/.gitignore @@ -26,4 +26,5 @@ pandas.egg-info .tox pandas/io/*.dat pandas/io/*.json -*.log \ No newline at end of file +*.log +.noseids diff --git a/.travis.yml b/.travis.yml index 8d87780e83e50..ab36df340e1c5 100644...
note that this brings up some currently failing cmov tests (@changhiskhan) which were previously skipped due to no scikit.timeseries on travis. I picked the current statsmodels 0.5 git master commit hash as the version to be installed, since pypi 0.5.0-beta raises a failing test in WLS see http://nose.readthedocs.o...
https://api.github.com/repos/pandas-dev/pandas/pulls/2500
2012-12-12T07:55:27Z
2012-12-12T16:41:21Z
2012-12-12T16:41:21Z
2012-12-13T05:50:51Z
CLN: remove new has_index_names argument from ExcelFile.parse() before rls
diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index dd46d5758eb1b..f27ca2fe5beea 100644 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -1805,7 +1805,7 @@ def __repr__(self): return object.__repr__(self) def parse(self, sheetname, header=0, skiprows=None, skip_footer=0, - ...
better not introduce API changes just yet
https://api.github.com/repos/pandas-dev/pandas/pulls/2498
2012-12-12T06:37:10Z
2012-12-13T14:54:16Z
null
2014-07-14T09:43:09Z
ENH: ndim tables in HDFStore (allow indexables to be passed in)
diff --git a/doc/source/io.rst b/doc/source/io.rst index bbf473628cafb..2c5dac3931c0d 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -1001,7 +1001,7 @@ Objects can be written to the file just like adding key-value pairs to a dict: store['wp'] = wp # the type of stored data - store.handle.root.wp....
- ENH: changes axes_to_index keyword in table creation to axes - ENH: allow passing of numeric or named axes (e.g. 0 or 'minor_axis') in axes - BUG: create_axes now checks for current table scheme; raises if this indexing scheme is violated - TST: added many p4d tests for appending/selection/partial selection/and axis ...
https://api.github.com/repos/pandas-dev/pandas/pulls/2497
2012-12-12T03:16:49Z
2012-12-13T22:57:00Z
2012-12-13T22:57:00Z
2014-06-22T17:19:33Z
DOC: broken display in 2 places in Updated PyTables Support section
diff --git a/RELEASE.rst b/RELEASE.rst index 26f3265029696..4c18ea3af84c8 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -84,7 +84,6 @@ pandas 0.10.0 - Add support for Panel4D, a named 4 Dimensional stucture - Add support for ndpanel factory functions, to create custom, domain-specific N-Dimensional container...
also..have a hanging ref in N Dimensional Panels (Experimental) section to the dsintro-panel4d docs which is not working....thanks!
https://api.github.com/repos/pandas-dev/pandas/pulls/2495
2012-12-11T22:06:51Z
2012-12-13T14:58:37Z
null
2014-06-27T13:41:32Z
more pprint escaping
diff --git a/pandas/core/common.py b/pandas/core/common.py index e087075196c78..d77d413d39571 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -1221,13 +1221,13 @@ def in_qtconsole(): # working with straight ascii. -def _pprint_seq(seq, _nest_lvl=0): +def _pprint_seq(seq, _nest_lvl=0, **kwds): ...
Escape embedded "\n"\"\r" as well as "\t" in labels/data when producing reprs related #2368
https://api.github.com/repos/pandas-dev/pandas/pulls/2492
2012-12-11T18:08:22Z
2012-12-11T18:40:47Z
2012-12-11T18:40:47Z
2014-06-12T14:14:43Z
ENH: pytables support for Panel4D Tables (AppendableNDimTable)
diff --git a/doc/source/io.rst b/doc/source/io.rst index d123e8fcbc8a1..653b01f1011ca 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -915,8 +915,8 @@ a subset of the data. This allows one to have a very large on-disk table and ret A query is specified using the ``Term`` class under the hood. - - 'inde...
ENH: AppendableNDimTable (supporting Panel4D) Term: only allow term querys that have matching axes e.g. index/columns supported for DataFrames, items,major_axis,minor_axis for Panels
https://api.github.com/repos/pandas-dev/pandas/pulls/2484
2012-12-11T03:01:25Z
2012-12-11T18:43:15Z
null
2014-07-09T07:04:52Z
BUG: merge tests for panel_4d - mixed_type is failing (others ok)
diff --git a/pandas/tools/tests/test_merge.py b/pandas/tools/tests/test_merge.py index 3964a04d21433..ec8212db5afcb 100644 --- a/pandas/tools/tests/test_merge.py +++ b/pandas/tools/tests/test_merge.py @@ -1427,6 +1427,36 @@ def df(): # it works! concat([ panel1, panel3 ], axis = 1, verify_integrity = ...
wes...if you have a moment....mixed type concentation (with p4d) is broken...not excactly sure how this works....
https://api.github.com/repos/pandas-dev/pandas/pulls/2483
2012-12-11T03:00:26Z
2012-12-11T20:15:53Z
null
2014-06-12T14:50:46Z
mysql support
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index 0caf83838fb2d..0c1e5ee1f7ca3 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -173,10 +173,10 @@ def write_frame(frame, name, con, flavor='sqlite', if_exists='fail', **kwargs): replace: If table exists, drop it, recreate it, and insert data. ...
I added mysql support and (untested!) support for oracle. Some parts of the code are ready to support other flavors -- it should be easy to extend.
https://api.github.com/repos/pandas-dev/pandas/pulls/2482
2012-12-10T21:46:53Z
2013-07-08T20:07:15Z
null
2022-10-13T00:14:45Z
BUG: create correctly named indexables in HDFStore Tables
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 8af7151cb898c..2e75d3f067b3a 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -855,33 +855,40 @@ def _read_frame_table(self, group, where=None): return t.read(where) -class Col(object): - """ a column description class +cl...
- indexable columns were created and named in a legacy format, now named like the indexable in the object, e.g. 'index' for DataFrame, or 'major_axis'/'minor_axis' for Panel - fixes an issue if we want to support say a 'column' oriented Table (e.g. instead of storing the transpose, store with a 'column' indexabl...
https://api.github.com/repos/pandas-dev/pandas/pulls/2481
2012-12-10T19:17:46Z
2012-12-10T21:28:11Z
null
2012-12-10T21:28:11Z
ENH: minor code refactoring to support sub-classes better (in Panel)
diff --git a/pandas/core/panel.py b/pandas/core/panel.py index fa469242fa4e3..424074de2ca7c 100644 --- a/pandas/core/panel.py +++ b/pandas/core/panel.py @@ -96,35 +96,14 @@ def _arith_method(func, name): def f(self, other): if not np.isscalar(other): - raise ValueError('Simple arithmetic with...
added generic docstrings for sub-classes so that they show the correct object type/axes for that class update/keys methods corrected for sub-classess more tests
https://api.github.com/repos/pandas-dev/pandas/pulls/2473
2012-12-10T15:49:57Z
2012-12-11T20:20:50Z
null
2014-06-29T00:33:46Z
BUG: DatetimeIndex.append does not preserve timezone #2260
diff --git a/pandas/io/tests/test_excel.py b/pandas/io/tests/test_excel.py index 50a03950cdd20..44801f6aae8a2 100644 --- a/pandas/io/tests/test_excel.py +++ b/pandas/io/tests/test_excel.py @@ -476,18 +476,41 @@ def _check_extension_indexlabels(self, ext): self.assertEqual(frame.index.names, recons.index.names)...
https://api.github.com/repos/pandas-dev/pandas/pulls/2470
2012-12-10T15:23:16Z
2012-12-10T15:32:57Z
null
2012-12-10T15:32:57Z
BUG: DataFrame.reset_index loses timezone information
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index f09f9cb6fc72b..392fad952d5a7 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -35,6 +35,7 @@ from pandas.util.decorators import deprecate, Appender, Substitution from pandas.tseries.period import PeriodIndex +from pandas.tseries.index imp...
#2262
https://api.github.com/repos/pandas-dev/pandas/pulls/2468
2012-12-10T07:09:50Z
2012-12-10T15:37:20Z
null
2014-06-25T00:23:20Z
BUG: DataFrame.filter(like=*) should treat non-string values as strings
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index f09f9cb6fc72b..d9def9387eacf 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2886,7 +2886,7 @@ def filter(self, items=None, like=None, regex=None): if items is not None: return self.reindex(columns=[r for r in items if...
...(issue #2464)
https://api.github.com/repos/pandas-dev/pandas/pulls/2467
2012-12-09T16:58:30Z
2012-12-10T15:47:38Z
null
2014-06-15T21:22:44Z
DataFrame ctor should respect col ordering in OrderedDict
diff --git a/RELEASE.rst b/RELEASE.rst index d90b54fa4cf64..b3cb6cba50fd1 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -106,6 +106,8 @@ pandas 0.10.0 (#2412) - Added boolean comparison operators to Panel - Enable ``Series.str.strip/lstrip/rstrip`` methods to take an argument (#2411) + - The DataFrame ctor ...
https://api.github.com/repos/pandas-dev/pandas/pulls/2456
2012-12-08T18:03:54Z
2012-12-08T22:35:54Z
2012-12-08T22:35:54Z
2012-12-08T22:36:04Z
DOC: revised whatsnew 0.10 docs - only tiny change
diff --git a/doc/source/io.rst b/doc/source/io.rst index a81899078f3ae..f81037975591f 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -795,7 +795,7 @@ Objects can be written to the file just like adding key-value pairs to a dict: major_axis=date_range('1/1/2000', periods=5), mino...
typos in io.rst moved some api changes docs to the proper place
https://api.github.com/repos/pandas-dev/pandas/pulls/2454
2012-12-08T02:49:18Z
2012-12-09T18:18:41Z
null
2012-12-09T18:18:41Z
BLD: update setup.py numpy version deps for python3
diff --git a/setup.py b/setup.py index a29f24ee4cf2b..e5234a177e046 100755 --- a/setup.py +++ b/setup.py @@ -51,11 +51,15 @@ setuptools_kwargs = {} if sys.version_info[0] >= 3: + min_numpy_ver = 1.6 + if sys.version_info[1] >= 3: # 3.3 needs numpy 1.7+ + min_numpy_ver = 1.7 + setuptools_kwargs = {...
https://api.github.com/repos/pandas-dev/pandas/pulls/2451
2012-12-07T23:09:32Z
2012-12-07T23:44:57Z
null
2012-12-07T23:44:57Z
ENH: Add batteries-included index and DataFrame generators to tm
diff --git a/pandas/util/testing.py b/pandas/util/testing.py index e00573c61485e..66d8f98781a19 100644 --- a/pandas/util/testing.py +++ b/pandas/util/testing.py @@ -26,6 +26,7 @@ from pandas.tseries.period import PeriodIndex Index = index.Index +MultiIndex = index.MultiIndex Series = series.Series DataFrame = fra...
https://api.github.com/repos/pandas-dev/pandas/pulls/2446
2012-12-07T00:10:41Z
2012-12-07T15:40:29Z
null
2012-12-07T15:40:34Z
to_execl xlwt fails on large files
diff --git a/pandas/io/parsers.py b/pandas/io/parsers.py index 44c7be853b6a0..292602feb01dc 100644 --- a/pandas/io/parsers.py +++ b/pandas/io/parsers.py @@ -21,6 +21,8 @@ import pandas.lib as lib import pandas._parser as _parser from pandas.tseries.period import Period +import json + class DateConversionError(Exc...
``` python import pandas as pd df = pd.DataFrame([tuple([i for i in range(200)]) for i in range(10000)], columns=["%s" % i for i in range(200)]) df.to_excel('test.xls') python testlarge.py ⏎ Traceback (most recent call last): File "testlarge.py", l...
https://api.github.com/repos/pandas-dev/pandas/pulls/2445
2012-12-06T23:47:23Z
2012-12-09T18:31:02Z
null
2014-06-18T17:17:37Z
repr for wider DataFrames
diff --git a/pandas/core/common.py b/pandas/core/common.py index d63029b447705..87308b20377b3 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -1173,7 +1173,7 @@ def in_interactive_session(): returns True if running under python/ipython interactive shell """ import __main__ as main - ...
by default no effect, set_option('print.expand_frame_repr', True) to have it print out wider DataFrames instead of just info repr. by default uses 80 characters as the width of the line and can be set like set_option('print.line_width', 120) also adds set_option('test.interactive', False) option for testing purposes...
https://api.github.com/repos/pandas-dev/pandas/pulls/2436
2012-12-06T01:22:47Z
2012-12-07T23:09:01Z
2012-12-07T23:09:01Z
2014-06-14T05:45:22Z
Fix issue compiling with MSVC9
diff --git a/pandas/src/parser/tokenizer.h b/pandas/src/parser/tokenizer.h index a68909abb6c89..f3a8fcae4cdbd 100644 --- a/pandas/src/parser/tokenizer.h +++ b/pandas/src/parser/tokenizer.h @@ -24,7 +24,7 @@ See LICENSE for the license #define ERROR_MINUS_SIGN 4 #if defined(_MSC_VER) -#include "../ms_stdint.h" +...
https://api.github.com/repos/pandas-dev/pandas/pulls/2432
2012-12-05T02:06:18Z
2012-12-06T22:20:11Z
null
2012-12-06T22:20:11Z
Update to gotchas page for indexing
diff --git a/doc/source/gotchas.rst b/doc/source/gotchas.rst index 0f7be37c5e83c..c951e5f18a112 100644 --- a/doc/source/gotchas.rst +++ b/doc/source/gotchas.rst @@ -238,6 +238,26 @@ be possible to insert some logic to check whether a passed sequence is all contained in the index, that logic would exact a very high cos...
Just a small update to the gotchas page to reference a potential gotcha using the reindex_like functionality.
https://api.github.com/repos/pandas-dev/pandas/pulls/2429
2012-12-04T22:32:26Z
2012-12-07T15:41:51Z
null
2012-12-07T15:41:51Z
ENH: value_vars for melt
diff --git a/RELEASE.rst b/RELEASE.rst index 9d62d9bd978ee..704eeebc7cdc8 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -82,6 +82,7 @@ pandas 0.10.0 - ``min_itemsize`` parameter can be specified in ``HDFStore table`` creation - Indexing support in ``HDFStore tables`` (#698) - Add `line_terminator` option to Da...
#2412
https://api.github.com/repos/pandas-dev/pandas/pulls/2415
2012-12-03T18:31:30Z
2012-12-07T15:59:46Z
null
2014-06-27T17:54:46Z
ENH: args for strip/lstrip/rstrip #2411
diff --git a/.gitignore b/.gitignore index eb26b3cedc724..fbf28ba50f2c5 100644 --- a/.gitignore +++ b/.gitignore @@ -25,4 +25,5 @@ pandas.egg-info *\#*\# .tox pandas/io/*.dat -pandas/io/*.json \ No newline at end of file +pandas/io/*.json +*.log \ No newline at end of file diff --git a/RELEASE.rst b/RELEASE.rst inde...
https://api.github.com/repos/pandas-dev/pandas/pulls/2413
2012-12-03T17:51:45Z
2012-12-07T16:28:55Z
null
2012-12-07T16:28:55Z
Resample interval
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 79493b26c0ba6..57914aff31826 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -203,7 +203,7 @@ def between_time(self, start_time, end_time, include_start=True, raise TypeError('Index must be DatetimeIndex') def res...
inference for close and label parameter values
https://api.github.com/repos/pandas-dev/pandas/pulls/2410
2012-12-03T14:54:54Z
2012-12-07T15:44:46Z
2012-12-07T15:44:46Z
2014-06-23T06:30:15Z
Index format
diff --git a/pandas/core/format.py b/pandas/core/format.py index f62e68a0f18a1..554ac41d7bf97 100644 --- a/pandas/core/format.py +++ b/pandas/core/format.py @@ -99,6 +99,7 @@ def _get_footer(self): def _get_formatted_index(self): index = self.series.index is_multi = isinstance(index, MultiIndex) ...
e.g., formatters={'**index**' : <func>}
https://api.github.com/repos/pandas-dev/pandas/pulls/2409
2012-12-03T13:51:16Z
2012-12-03T14:28:34Z
2012-12-03T14:28:34Z
2012-12-03T18:01:20Z
BLD: New build matrix for Travis
diff --git a/.travis.yml b/.travis.yml index ee60f9d7ad713..0d57f69597477 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,37 +3,50 @@ language: python python: - 2.6 - 2.7 - - 3.1 + - 3.1 # travis will soon EOL this - 3.2 - 3.3 +env: + global: + - # need at least this so travis page will show env c...
- Moved travis build logic to ci directory. - Added testing for 3.3 (with numpy 1.7b2). - Prints version strings for all installed components. - added FULL_DEPS build for 2.7 and 3.2, which includes scipy and matplotlib tests. - Made the log less verbose. - Travis now shows an "env" columnn.
https://api.github.com/repos/pandas-dev/pandas/pulls/2408
2012-12-03T01:34:37Z
2012-12-05T19:40:34Z
null
2012-12-05T19:40:34Z
Docs for Panel4D/panelnd and Minor Enhancements
diff --git a/RELEASE.rst b/RELEASE.rst index 2ba2296064612..4f420f45a5c91 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -43,6 +43,11 @@ pandas 0.10.0 `describe_option`, and `reset_option`. Deprecate `set_printoptions` and `reset_printoptions` (#2393) +**Experimental Features** + - Add support for Panel4D, ...
updated whatsnew/RELEASE added boolean comparison methods to panel.py (didn't exist before) all tests pass need to update the link to dsintro-panel4d section in the whatsnew docs....
https://api.github.com/repos/pandas-dev/pandas/pulls/2407
2012-12-03T01:00:29Z
2012-12-07T16:06:56Z
2012-12-07T16:06:56Z
2014-06-12T10:20:37Z
Pytables support for hierarchical keys
diff --git a/.gitignore b/.gitignore index 320f03a0171a2..eb26b3cedc724 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ MANIFEST *.cpp *.so *.pyd +*.h5 pandas/version.py doc/source/generated doc/source/_static diff --git a/RELEASE.rst b/RELEASE.rst index 49f45fce13381..7746d8bd587ea 100644 --- a/RELEAS...
GH #2391 support for keys of the form: foo/bar/bah includes docs & tests
https://api.github.com/repos/pandas-dev/pandas/pulls/2401
2012-12-01T04:34:23Z
2012-12-01T20:45:18Z
null
2014-06-27T02:54:09Z
Multiprocessing support for tests
diff --git a/.travis.yml b/.travis.yml index ee60f9d7ad713..4b89726b607c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ install: script: - python setup.py build_ext install - - 'if [ x"$VBENCH" != x"true" ]; then nosetests --exe -w /tmp -A "not slow" pandas; fi' + - 'if [ x"$VBENCH" != x"true"...
run test_multi.sh
https://api.github.com/repos/pandas-dev/pandas/pulls/2400
2012-11-30T23:17:19Z
2012-12-01T18:00:48Z
null
2012-12-01T18:00:48Z
Cmov
diff --git a/RELEASE.rst b/RELEASE.rst index 7c546c9fc6485..d31a10a8fb102 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -36,7 +36,8 @@ pandas 0.10.0 for both Series and DataFrame (#2002) - Add ``duplicated`` and ``drop_duplicates`` functions to Series (#1923) - Add docs for ``HDFStore table`` format - - 'de...
use `center` keyword and then `shift` if True.
https://api.github.com/repos/pandas-dev/pandas/pulls/2398
2012-11-30T20:13:05Z
2012-12-10T15:24:12Z
2012-12-10T15:24:12Z
2014-07-02T10:35:21Z
ENH: line_terminator parameter for DataFrame.to_csv
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 3f555c800d1eb..9d7c93eb53ef9 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1305,7 +1305,8 @@ def _helper_csvexcel(self, writer, na_rep=None, cols=None, def to_csv(self, path_or_buf, sep=",", na_rep='', float_format=None, ...
In response to #2326 (Changes are now PEP8-compliant!)
https://api.github.com/repos/pandas-dev/pandas/pulls/2394
2012-11-29T20:46:43Z
2012-11-29T21:41:21Z
null
2014-08-08T22:55:30Z
CLN: add deprecation warning to set_printoptions, reset_printoptions
diff --git a/README.rst b/README.rst index 78e849275aaf2..8d000a9410e22 100644 --- a/README.rst +++ b/README.rst @@ -77,6 +77,8 @@ Optional dependencies * Needed for parts of :mod:`pandas.stats` * `pytz <http://pytz.sourceforge.net/>`__ * Needed for time zone support with ``DateRange`` + * `openpyxl <ht...
https://api.github.com/repos/pandas-dev/pandas/pulls/2393
2012-11-29T18:11:43Z
2012-12-01T20:54:27Z
2012-12-01T20:54:27Z
2014-06-25T07:52:10Z
BUG: problems with qtconsole and _repr_html
diff --git a/pandas/core/common.py b/pandas/core/common.py index c86ee34f26d47..2607c9ad62456 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -1096,6 +1096,17 @@ def in_interactive_session(): import __main__ as main return not hasattr(main, '__file__') +def in_qtconsole(): + """ + ch...
works locally but how to put the qtconsole check in a test suite? #2275
https://api.github.com/repos/pandas-dev/pandas/pulls/2392
2012-11-29T17:30:38Z
2012-11-30T23:30:50Z
null
2014-06-29T08:04:31Z
Dti toperiod tz
diff --git a/pandas/src/datetime.pxd b/pandas/src/datetime.pxd index 13fc7768c4b7f..09073dcd4d3b3 100644 --- a/pandas/src/datetime.pxd +++ b/pandas/src/datetime.pxd @@ -1,4 +1,4 @@ -from numpy cimport int64_t, int32_t, npy_int64, npy_int32 +from numpy cimport int64_t, int32_t, npy_int64, npy_int32, ndarray from cpytho...
https://api.github.com/repos/pandas-dev/pandas/pulls/2390
2012-11-29T17:00:10Z
2012-11-29T21:16:29Z
null
2012-11-29T21:16:29Z
DOC: pytables what's new tweaks.
diff --git a/doc/source/io.rst b/doc/source/io.rst index 1108f9ca7ef83..5785a014f8aed 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -763,6 +763,7 @@ one can use the ExcelWriter class, as in the following example: df2.to_excel(writer, sheet_name='sheet2') writer.save() +.. _io-hdf5: HDF5 (PyTabl...
https://api.github.com/repos/pandas-dev/pandas/pulls/2389
2012-11-29T16:37:53Z
2012-11-29T16:38:02Z
2012-11-29T16:38:02Z
2012-11-29T16:38:08Z