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
Add SparseSeries.to_coo method, a single test and one example.
diff --git a/doc/source/api.rst b/doc/source/api.rst index 149421bde28c8..7fbb432f0be6b 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -634,6 +634,14 @@ Serialization / IO / Conversion Series.to_string Series.to_clipboard +Sparse methods +~~~~~~~~~~~~~~ +.. autosummary:: + :toctree: generated/ ...
xref #4343 closes #8048 This passes locally run nosetests but is failing on Travis. I think the latest Travis CI changes might have caused failures. I was able to get master to pass on Travis last week but now it is failing.
https://api.github.com/repos/pandas-dev/pandas/pulls/9076
2014-12-14T21:58:32Z
2015-03-03T01:04:51Z
null
2015-03-04T21:13:49Z
fixing highly confusing typo.
diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst index f30d6c9d5d4c0..7f8d0e529fc8b 100644 --- a/doc/source/visualization.rst +++ b/doc/source/visualization.rst @@ -727,7 +727,7 @@ You can use the ``labels`` and ``colors`` keywords to specify the labels and col .. warning:: - Most pandas ...
The power of an 'e'.
https://api.github.com/repos/pandas-dev/pandas/pulls/9074
2014-12-14T06:05:46Z
2014-12-14T21:50:02Z
2014-12-14T21:50:02Z
2014-12-14T22:14:09Z
ENH: add interval kwarg to get_data_yahoo issue #9071
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 21b1ddea0e9da..8e67b3c067367 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -57,6 +57,7 @@ Enhancements .. _whatsnew_0160.enhancements: - Paths beginning with ~ will now be expanded to begin w...
PR for the issue #9071
https://api.github.com/repos/pandas-dev/pandas/pulls/9072
2014-12-13T19:30:10Z
2015-01-05T23:49:33Z
2015-01-05T23:49:33Z
2015-01-05T23:50:25Z
ENH: Open Document Format ODS support in read_excel()
diff --git a/doc/source/install.rst b/doc/source/install.rst index 36a6c4038f8be..37263899c0521 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -250,7 +250,8 @@ Optional Dependencies * `matplotlib <http://matplotlib.sourceforge.net/>`__: for plotting * `statsmodels <http://statsmodels.sourceforge....
This work should eventually lead to a reader and writer for ods spreadsheets (LibreOffice / OpenOffice Open Document Format). I am doing this work in the master of my clone of pandas. From the wiki I understood it is fine for me to commit to my master and rebase with upstream from time to time. Please let me know if I ...
https://api.github.com/repos/pandas-dev/pandas/pulls/9070
2014-12-13T11:45:25Z
2015-09-01T18:52:24Z
null
2022-10-13T00:16:19Z
pivot & unstack with nan in the index
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 7433adaa4b738..66b772d35f2e2 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -67,6 +67,7 @@ Bug Fixes - Bug in ``MultiIndex.has_duplicates`` when having many levels causes an indexer overflow ...
closes https://github.com/pydata/pandas/issues/7466 on branch: ``` >>> df a b c 0 R1 C1 10 1 R2 C2 15 2 NaN C3 17 3 R4 C4 20 >>> df.pivot('a', 'b', 'c').fillna('.') b C1 C2 C3 C4 a NaN . . 17 . R1 10 . . . R2 . 15 . . R4 . . . 20 >>> df.pivot('b', 'a', 'c')....
https://api.github.com/repos/pandas-dev/pandas/pulls/9061
2014-12-12T02:10:36Z
2014-12-22T13:08:53Z
2014-12-22T13:08:52Z
2015-01-10T20:21:07Z
DOC: fix-up docs for 0.15.2 release
diff --git a/doc/source/io.rst b/doc/source/io.rst index 2ec61f7f00bd8..d5bbddfeb7d37 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -3403,7 +3403,7 @@ writes ``data`` to the database in batches of 1000 rows at a time: data.to_sql('data_chunked', engine, chunksize=1000) SQL data types -""""""""""""""...
@jreback some more clean-up of whatsnew - some small fixes so now everything builds ok, ready for release I also reworded a little bit the intro of the minor release (I thought was a bit more appropriate for minor release vs major release)
https://api.github.com/repos/pandas-dev/pandas/pulls/9058
2014-12-11T13:32:05Z
2014-12-11T13:41:59Z
2014-12-11T13:41:59Z
2014-12-11T13:41:59Z
TST: start tests for PeriodConverter
diff --git a/pandas/tseries/converter.py b/pandas/tseries/converter.py index 03a3d450827b9..a9fee1d5c3ee6 100644 --- a/pandas/tseries/converter.py +++ b/pandas/tseries/converter.py @@ -109,7 +109,7 @@ class PeriodConverter(dates.DateConverter): def convert(values, units, axis): if not hasattr(axis, 'freq'...
@jreback The tests I started related to PR #9050
https://api.github.com/repos/pandas-dev/pandas/pulls/9055
2014-12-11T10:29:35Z
2014-12-12T15:25:07Z
2014-12-12T15:25:07Z
2014-12-12T15:25:07Z
BUG: fix PeriodConverter issue when given a list of integers (GH9012)
diff --git a/pandas/tseries/converter.py b/pandas/tseries/converter.py index 4b3fdfd5e3303..03a3d450827b9 100644 --- a/pandas/tseries/converter.py +++ b/pandas/tseries/converter.py @@ -117,8 +117,10 @@ def convert(values, units, axis): return values.asfreq(axis.freq).values if isinstance(values, I...
For example coming up when [0, 1] is passed by axhline Closes #9012 test and whatsnew are coming
https://api.github.com/repos/pandas-dev/pandas/pulls/9050
2014-12-10T12:38:24Z
2014-12-11T01:34:14Z
null
2014-12-11T01:34:14Z
TST: dateutil fixes (GH8639)
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index f034e0e223e6b..6936e40da6fbe 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -163,6 +163,7 @@ Bug Fixes - Bug in ``DatetimeIndex`` when using ``time`` object as key (:issue:`8667`) - Bug in ``mer...
xref #8639
https://api.github.com/repos/pandas-dev/pandas/pulls/9047
2014-12-09T01:21:31Z
2014-12-10T11:11:03Z
2014-12-10T11:11:03Z
2014-12-10T11:11:03Z
Fix timedelta json on windows
diff --git a/pandas/src/datetime_helper.h b/pandas/src/datetime_helper.h index 8e188a431a086..c8c54dd5fc947 100644 --- a/pandas/src/datetime_helper.h +++ b/pandas/src/datetime_helper.h @@ -1,4 +1,7 @@ #include "datetime.h" +#include "numpy/arrayobject.h" +#include "numpy/arrayscalars.h" +#include <stdio.h> #if PY_M...
some fixes for different int sizes on windows
https://api.github.com/repos/pandas-dev/pandas/pulls/9044
2014-12-08T15:29:40Z
2014-12-08T16:32:56Z
2014-12-08T16:32:56Z
2014-12-09T00:51:22Z
BUG: series.fillna() fails with quoted numbers
diff --git a/pandas/core/internals.py b/pandas/core/internals.py index ef33e27d861fd..7a84f2c399671 100644 --- a/pandas/core/internals.py +++ b/pandas/core/internals.py @@ -4009,7 +4009,7 @@ def _putmask_smart(v, m, n): nv = v.copy() nv[m] = nn_at return nv - except (ValueError...
Here's a simple example: ``` python import pandas as pd import numpy as np x = pd.Series(range(5)) x.iloc[1] = np.nan x.fillna(0) # works x.fillna('foo') # works x.fillna('0') # crash ``` in the function `_putmask_smart()`, two numpy arrays are compared to determine if they have compatible dtypes. However if one arr...
https://api.github.com/repos/pandas-dev/pandas/pulls/9043
2014-12-08T14:44:13Z
2015-05-09T16:05:40Z
null
2022-10-13T00:16:19Z
ENH: Store in SQL using double precision
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index b3ac58a9fb84a..999f0cd0be8e7 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -202,3 +202,4 @@ Bug Fixes - Fixed issue in the ``xlsxwriter`` engine where it added a default 'General' format to cell...
Closes #9009 . @jorisvandenbossche -- do you think this should test/use single precision ? We could test for float32 perhaps? My own feeling is that this is the safer default.
https://api.github.com/repos/pandas-dev/pandas/pulls/9041
2014-12-08T08:17:20Z
2015-01-25T18:01:04Z
2015-01-25T18:01:04Z
2015-01-25T18:01:21Z
Return from to_timedelta is forced to dtype timedelta64[ns].
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index f034e0e223e6b..a2728c2d82d61 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -268,3 +268,5 @@ Bug Fixes - Fixed ValueError raised by cummin/cummax when datetime64 Series contains NaT. (:issue:`896...
This is a revised change, fixing the issue I experienced (issue #9011). The proper change seems to be setting the dtype to `'timedelta64[ns]'`, as was already done for the other cases in the `to_timedelta` routine. I have also added more tests, and moved them to the `test_timedeltas` function (next to the other tests...
https://api.github.com/repos/pandas-dev/pandas/pulls/9040
2014-12-08T07:38:36Z
2014-12-09T21:23:19Z
2014-12-09T21:23:19Z
2014-12-12T14:37:30Z
DOC: expand docs on sql type conversion
diff --git a/doc/source/io.rst b/doc/source/io.rst index f2d5924edac77..2ec61f7f00bd8 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -3393,12 +3393,34 @@ the database using :func:`~pandas.DataFrame.to_sql`. data.to_sql('data', engine) -With some databases, writing large DataFrames can result in erro...
Some doc changes related to #8926 and #8973
https://api.github.com/repos/pandas-dev/pandas/pulls/9038
2014-12-07T21:21:55Z
2014-12-08T11:59:49Z
2014-12-08T11:59:49Z
2014-12-08T11:59:49Z
COMPAT: dateutil fixups for 2.3 (GH9021, GH8639)
diff --git a/pandas/tseries/tests/test_period.py b/pandas/tseries/tests/test_period.py index 1fd2d7b8fa8e5..cf82733c6629d 100644 --- a/pandas/tseries/tests/test_period.py +++ b/pandas/tseries/tests/test_period.py @@ -104,12 +104,12 @@ def test_timestamp_tz_arg_dateutil(self): import dateutil from pand...
fixes #9021 but going to reopen #8639
https://api.github.com/repos/pandas-dev/pandas/pulls/9036
2014-12-07T20:51:49Z
2014-12-07T22:26:13Z
2014-12-07T22:26:13Z
2014-12-08T14:46:53Z
DOC: fix categorical comparison example (GH8946)
diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst index d10524e5d392f..91cfa77bc618c 100644 --- a/doc/source/categorical.rst +++ b/doc/source/categorical.rst @@ -356,9 +356,9 @@ Comparisons Comparing categorical data with other objects is possible in three cases: * comparing equality (``==`` and...
See discussion https://github.com/pydata/pandas/pull/8946/files#r21376839
https://api.github.com/repos/pandas-dev/pandas/pulls/9035
2014-12-07T20:38:08Z
2014-12-07T21:42:53Z
2014-12-07T21:42:53Z
2014-12-07T21:42:53Z
Calling qcut with too many duplicates now gives an informative error
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 58dc1da214c05..5bd78ec6b439a 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -164,7 +164,7 @@ Bug Fixes - Bug in ``merge`` where ``how='left'`` and ``sort=False`` would not preserve left frame ord...
Closes #7751.
https://api.github.com/repos/pandas-dev/pandas/pulls/9030
2014-12-06T23:27:06Z
2015-05-09T16:05:51Z
null
2022-10-13T00:16:18Z
BUG: Fixed maximum columns limit when using usecols for csv. #8985
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 58dc1da214c05..409ef8bee3662 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -164,6 +164,7 @@ Bug Fixes - Bug in ``merge`` where ``how='left'`` and ``sort=False`` would not preserve left frame ord...
fixes #8985
https://api.github.com/repos/pandas-dev/pandas/pulls/9029
2014-12-06T22:47:34Z
2014-12-07T12:33:36Z
null
2014-12-07T12:33:36Z
Implement timedeltas for to_json
diff --git a/pandas/io/tests/test_json/test_pandas.py b/pandas/io/tests/test_json/test_pandas.py index 5732bc90573fd..75a6f22488b41 100644 --- a/pandas/io/tests/test_json/test_pandas.py +++ b/pandas/io/tests/test_json/test_pandas.py @@ -4,8 +4,8 @@ import os import numpy as np -import nose from pandas import Serie...
Closes #9027
https://api.github.com/repos/pandas-dev/pandas/pulls/9028
2014-12-06T22:27:31Z
2014-12-07T20:25:34Z
2014-12-07T20:25:34Z
2014-12-07T20:25:39Z
BUG: Datareader index name shows unicode characters
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 02de919e3f83e..22a89b465ad7d 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -239,3 +239,4 @@ Bug Fixes - Bug where passing a unit to the TimedeltaIndex constructor applied the to nano-second conv...
Fixes #8967
https://api.github.com/repos/pandas-dev/pandas/pulls/9026
2014-12-06T20:45:54Z
2015-03-07T21:11:28Z
null
2015-03-07T21:17:28Z
BUG: Fix Datareader dtypes if there are missing values from Google.
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 58dc1da214c05..7d54bc73e9ae6 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -222,3 +222,4 @@ Bug Fixes - Fixed ValueError raised by cummin/cummax when datetime64 Series contains NaT. (:issue:...
Fixes #8980
https://api.github.com/repos/pandas-dev/pandas/pulls/9025
2014-12-06T20:34:01Z
2014-12-07T00:07:23Z
2014-12-07T00:07:23Z
2014-12-07T00:07:27Z
Gh9010 yahoo options parsing bug
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index d64dbf6e14345..73c72ae963f60 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -221,3 +221,5 @@ Bug Fixes - Fixed ValueError raised by cummin/cummax when datetime64 Series contains NaT. (:issue:...
closes #9010. Fix for Yahoo Options parse error for underlying prices of 1,000.00 or larger.
https://api.github.com/repos/pandas-dev/pandas/pulls/9024
2014-12-06T19:52:43Z
2015-01-05T23:51:07Z
null
2015-01-05T23:51:07Z
ENH/API: DataFrame.stack() support for level=None, sequentially=True/False, and NaN level values.
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index e92de770ac4bd..e950df9c633af 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3718,7 +3718,7 @@ def pivot(self, index=None, columns=None, values=None): from pandas.core.reshape import pivot return pivot(self, index=index, c...
closes #8851 closes #9399 closes #9406 closes #9533
https://api.github.com/repos/pandas-dev/pandas/pulls/9023
2014-12-06T19:11:36Z
2016-01-20T14:14:44Z
null
2023-05-11T01:12:45Z
Make Timestamp('now') equivalent to Timestamp.now()
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index d64dbf6e14345..4468b267e9d7f 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -62,6 +62,9 @@ API changes - Allow equality comparisons of Series with a categorical dtype and object dtype; previous...
closes #9000 I opted to not change np_datetime_strings but instead short-circuit in Timestamp. I don't have a strong preference one way or another.
https://api.github.com/repos/pandas-dev/pandas/pulls/9022
2014-12-06T18:27:51Z
2014-12-07T21:01:06Z
2014-12-07T21:01:06Z
2014-12-22T14:55:29Z
reindex multi-index at level with reordered labels
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index d64dbf6e14345..6e065c5818616 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -119,6 +119,7 @@ Bug Fixes - Bug in ``BlockManager`` where setting values with different type would break block integri...
closes https://github.com/pydata/pandas/issues/4088 on branch: ``` >>> df vals first second third mid 3rd 992 1.96 562 12.06 1st 73 -6.46 818 -15.75 658 5.90 btm 2nd 915 9.75 474 -1.47 ...
https://api.github.com/repos/pandas-dev/pandas/pulls/9019
2014-12-06T15:51:22Z
2014-12-07T00:18:23Z
2014-12-07T00:18:23Z
2014-12-07T00:29:18Z
BUG: Prevent index header column from being added on MultiIndex when ind...
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index a1a353980f7aa..596bb841f16c9 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -155,6 +155,7 @@ Bug Fixes - Bug in ``merge`` where ``how='left'`` and ``sort=False`` would not preserve left frame ord...
Fix for #8452 Index column was added when index=False.
https://api.github.com/repos/pandas-dev/pandas/pulls/9018
2014-12-06T01:01:08Z
2014-12-07T22:27:17Z
2014-12-07T22:27:17Z
2014-12-07T22:27:24Z
TST: better testing for test_where (GH8997)
diff --git a/pandas/tests/test_categorical.py b/pandas/tests/test_categorical.py index 4852e142d2f29..45b278dc32a0e 100644 --- a/pandas/tests/test_categorical.py +++ b/pandas/tests/test_categorical.py @@ -909,8 +909,8 @@ def test_searchsorted(self): exp = np.array([1]) self.assert_numpy_array_equal(re...
closes #8996
https://api.github.com/repos/pandas-dev/pandas/pulls/9015
2014-12-05T20:38:36Z
2014-12-06T15:17:00Z
null
2015-05-05T08:23:02Z
ENH: Implement Series.StringMethod.slice_replace
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 839a055bf2a63..e58bb6f703b3d 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -62,6 +62,8 @@ Enhancements - Paths beginning with ~ will now be expanded to begin with the user's home directory (:i...
closes #8888 This does not implement immerrr's suggestion of implementing `__setitem__`, as all `StringMethod` methods return a new `Series` (or `DataFrame`) rather than mutating.
https://api.github.com/repos/pandas-dev/pandas/pulls/9014
2014-12-05T19:57:58Z
2015-01-08T01:59:16Z
2015-01-08T01:59:16Z
2015-01-08T02:01:29Z
BUG: Bug in using a pd.Grouper(key=...) with no level/axis or level only (GH8795, GH8866)
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index a1a353980f7aa..10b23605cca85 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -98,6 +98,7 @@ Bug Fixes - Bug in Timestamp-Timestamp not returning a Timedelta type and datelike-datelike ops with t...
closes #8795 closes #8866
https://api.github.com/repos/pandas-dev/pandas/pulls/9008
2014-12-05T01:58:13Z
2014-12-05T02:34:01Z
2014-12-05T02:34:01Z
2014-12-05T02:34:01Z
Fix groupby().transform() example in cookbook.rst
diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index 8378873db9a65..81fe4aac51dd7 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -489,10 +489,10 @@ Unlike agg, apply's callable is passed a sub-DataFrame which gives you access to .. ipython:: python def GrowUp(x): - avg...
@jorisvandenbossche : Fixes code in example, and makes final averaging by len(x) stylistically similar to previous adds. New pull request replacing my earlier one, which contained some other erroneous commits. closes #8944
https://api.github.com/repos/pandas-dev/pandas/pulls/9007
2014-12-05T00:24:42Z
2014-12-05T02:11:13Z
2014-12-05T02:11:13Z
2014-12-05T06:11:47Z
update NDFrame __setattr__ to match behavior of __getattr__
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index a1a353980f7aa..47a82fdceb17b 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -61,6 +61,23 @@ API changes - Allow equality comparisons of Series with a categorical dtype and object dtype; previou...
This addresses the issue raised in #8994. Here is the behavior before this PR: ``` python data = pd.DataFrame({'x':[1, 2, 3]}) data.y = 2 data['y'] = [2, 4, 6] data.y = 5 print(data.y) #2 print(data['y'].values) # [5, 5, 5] ``` Here is the behavior after this PR: ``` python data = pd.DataFrame({'x':[1, 2, 3]}) da...
https://api.github.com/repos/pandas-dev/pandas/pulls/9004
2014-12-04T22:29:27Z
2014-12-07T15:15:07Z
null
2014-12-07T21:13:31Z
REGR: Regression in DatetimeIndex iteration with a Fixed/Local offset timezone (GH8890)
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 260e4e8a17c7d..4fbf7cbfa7c98 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -118,6 +118,7 @@ Bug Fixes s.loc['c':'a':-1] - Report a ``TypeError`` when invalid/no paramaters are passed in ...
closes #8890
https://api.github.com/repos/pandas-dev/pandas/pulls/8990
2014-12-04T01:36:00Z
2014-12-04T02:47:31Z
2014-12-04T02:47:31Z
2014-12-04T02:47:31Z
FIX: use decorator to append read_frame/frame_query docstring (GH8315)
diff --git a/pandas/io/sql.py b/pandas/io/sql.py index bb810b8509ef3..77527f867fad8 100644 --- a/pandas/io/sql.py +++ b/pandas/io/sql.py @@ -19,6 +19,7 @@ from pandas.core.common import isnull from pandas.core.base import PandasObject from pandas.tseries.tools import to_datetime +from pandas.util.decorators import A...
Closes #8315
https://api.github.com/repos/pandas-dev/pandas/pulls/8988
2014-12-03T22:51:12Z
2014-12-04T08:27:53Z
2014-12-04T08:27:53Z
2014-12-04T10:43:27Z
User facing AssertionError in empty groupby GH5289
diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index 4b85da1b7b224..774d9f651bae0 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -2163,7 +2163,7 @@ def _convert_grouper(axis, grouper): return grouper.reindex(axis).values elif isinstance(grouper, (list, Series, Index,...
closes https://github.com/pydata/pandas/issues/5289 Is this all we need to do? Or am I missing something?
https://api.github.com/repos/pandas-dev/pandas/pulls/8987
2014-12-03T20:19:12Z
2015-05-09T15:59:39Z
null
2015-05-09T15:59:39Z
BUG: Dynamically created table names allow SQL injection
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index b3ac58a9fb84a..7a47cc68fb627 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -106,6 +106,7 @@ Enhancements - ``tseries.frequencies.to_offset()`` now accepts ``Timedelta`` as input (:issue:`9064`) ...
Working with the SQL code, I realized that the legacy code does not properly validate / escape passed in table and column names. E.g.: ``` n [116]: import pandas as pd import pandas.io.sql as sql import sqlite3 df = pd.DataFrame({'a':[1,2],'b':[2,3]}) con = sqlite3.connect(':memory:') db = sql.SQLiteDatabase(con, '...
https://api.github.com/repos/pandas-dev/pandas/pulls/8986
2014-12-03T19:47:26Z
2015-01-26T00:04:28Z
2015-01-26T00:04:27Z
2015-01-26T00:04:38Z
BUG in read_csv skipping rows after a row with trailing spaces, #8983
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 740263bed7970..e86b53ef745d3 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -165,7 +165,7 @@ Bug Fixes of the level names are numbers (:issue:`8584`). - Bug in ``MultiIndex`` where ``__contain...
Update tokenizer.c to fix a BUG in read_csv skipping rows after tokenizing a row with trailing spaces, Closes #8983
https://api.github.com/repos/pandas-dev/pandas/pulls/8984
2014-12-03T18:18:24Z
2014-12-03T21:56:45Z
2014-12-03T21:56:45Z
2014-12-03T23:55:42Z
FIX: Workaround for integer hashing
diff --git a/pandas/io/stata.py b/pandas/io/stata.py index 45d3274088c75..6ef8de26906db 100644 --- a/pandas/io/stata.py +++ b/pandas/io/stata.py @@ -611,9 +611,10 @@ class StataMissingValue(StringMixin): MISSING_VALUES = {} bases = (101, 32741, 2147483621) for b in bases: - MISSING_VALUES[b] = '.'...
Force conversion to integer for missing values when they must be integer to avoid hash errors on 32 bit platforms. closes #8968
https://api.github.com/repos/pandas-dev/pandas/pulls/8982
2014-12-03T12:40:22Z
2014-12-06T15:10:53Z
2014-12-06T15:10:53Z
2015-01-18T22:42:16Z
BUG: Bug in Timestamp-Timestamp not returning a Timedelta type (GH8865)
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 260e4e8a17c7d..bdfa858bfb2e5 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -92,6 +92,24 @@ Experimental Bug Fixes ~~~~~~~~~ + +- Bug in Timestamp-Timestamp not returning a Timedelta type and ...
closes #8865
https://api.github.com/repos/pandas-dev/pandas/pulls/8981
2014-12-03T12:40:22Z
2014-12-04T02:48:19Z
2014-12-04T02:48:19Z
2014-12-04T02:48:20Z
TST/COMPAT: tests and compat for unicode for lib.max_len_string_array
diff --git a/pandas/lib.pyx b/pandas/lib.pyx index 82408cd460fcd..2a5b93d111acc 100644 --- a/pandas/lib.pyx +++ b/pandas/lib.pyx @@ -898,17 +898,17 @@ def clean_index_list(list obj): @cython.boundscheck(False) @cython.wraparound(False) -def max_len_string_array(ndarray[object, ndim=1] arr): +def max_len_string_arra...
https://api.github.com/repos/pandas-dev/pandas/pulls/8978
2014-12-03T03:26:28Z
2014-12-03T07:04:47Z
2014-12-03T07:04:47Z
2014-12-03T07:04:47Z
BUG: StataWriter uses incorrect string length
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 929471acb3105..aca1320980720 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -166,3 +166,10 @@ Bug Fixes not lexically sorted or unique (:issue:`7724`) - BUG CSV: fix problem with trailing whit...
Fixes bug where StataWriter always writes strings with a size of 244. closes #8969
https://api.github.com/repos/pandas-dev/pandas/pulls/8977
2014-12-03T03:07:24Z
2014-12-03T14:24:58Z
2014-12-03T14:24:58Z
2015-01-18T22:42:19Z
COMPAT: infer_dtype not handling categoricals (GH8974)
diff --git a/pandas/src/inference.pyx b/pandas/src/inference.pyx index e754f3c21de3c..dbe6f2f1f8351 100644 --- a/pandas/src/inference.pyx +++ b/pandas/src/inference.pyx @@ -21,6 +21,8 @@ def is_period(object val): return util.is_period_object(val) _TYPE_MAP = { + 'categorical' : 'categorical', + 'category...
closes #8974
https://api.github.com/repos/pandas-dev/pandas/pulls/8975
2014-12-03T02:14:19Z
2014-12-03T02:53:18Z
2014-12-03T02:53:18Z
2014-12-03T02:53:18Z
ENH: Infer dtype from non-nulls when pushing to SQL
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index a329cb25173cf..8c2fbc059ce5b 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -115,6 +115,7 @@ Enhancements - ``to_datetime`` gains an ``exact`` keyword to allow for a format to not require an exac...
Closes #8778 This infers dtype from non-null values for insertion into SQL database. See #8778 . I had to alter @tiagoantao test a bit. Like @tiagoantao, I skipped writing tests for legacy MySQL. Support for this will be removed soon, right? As a side note, `lib.infer_dtype` throws an exception for categorical da...
https://api.github.com/repos/pandas-dev/pandas/pulls/8973
2014-12-03T01:21:26Z
2014-12-08T07:42:33Z
2014-12-08T07:42:33Z
2014-12-08T07:42:42Z
Implement Categorical.searchsorted(v, side, sorter) #8420
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 11cf2450d2f28..1a6234625ab93 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -66,6 +66,7 @@ Enhancements - Added ability to export Categorical data to Stata (:issue:`8633`). See :ref:`here <io....
closes #8420 Continuation of #8928
https://api.github.com/repos/pandas-dev/pandas/pulls/8972
2014-12-02T23:59:50Z
2014-12-05T13:36:25Z
null
2014-12-05T13:36:25Z
PERF: astype(str) on object dtypes GH8732
diff --git a/pandas/core/common.py b/pandas/core/common.py index f7f944bb418e9..4eef28f357930 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -2585,14 +2585,15 @@ def _astype_nansafe(arr, dtype, copy=True): if np.isnan(arr).any(): raise ValueError('Cannot convert NA to integer') ...
Closes #8732 In most cases it looks like, we need to iterate over array and coerce each element. This is so that the appropriate exception can be raised, or we can deal with nulls. So the original case of casting ints to strings, has to work the way it does, unless we change the underlying behaviour. So when astype(st...
https://api.github.com/repos/pandas-dev/pandas/pulls/8971
2014-12-02T20:41:29Z
2015-05-09T16:17:22Z
null
2015-05-14T15:49:37Z
docfix: add boolean array as option for indexing with .iloc
diff --git a/doc/source/indexing.rst b/doc/source/indexing.rst index 920be3672acd4..f56e0d22b25a7 100644 --- a/doc/source/indexing.rst +++ b/doc/source/indexing.rst @@ -84,14 +84,17 @@ of multi-axis indexing. See more at :ref:`Selection by Label <indexing.label>` -- ``.iloc`` is strictly integer position based (...
resolves #8956 Trivial documentation addition of boolean array as option for .iloc
https://api.github.com/repos/pandas-dev/pandas/pulls/8970
2014-12-02T19:18:18Z
2014-12-04T00:08:00Z
null
2014-12-04T00:54:23Z
BUG: ValueError raised by cummin/cummax when datetime64 Series contains NaT.
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 929471acb3105..0a0bed826abba 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -166,3 +166,4 @@ Bug Fixes not lexically sorted or unique (:issue:`7724`) - BUG CSV: fix problem with trailing white...
closes #8965
https://api.github.com/repos/pandas-dev/pandas/pulls/8966
2014-12-02T13:00:45Z
2014-12-03T14:27:36Z
2014-12-03T14:27:36Z
2014-12-03T14:27:45Z
BUG: fixes pd.Grouper for non-datetimelike groupings #8866
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 6688f106f922e..bfa38680d5e1d 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -42,6 +42,8 @@ API changes - Bug in concat of Series with ``category`` dtype which were coercing to ``object``. (:iss...
closes #8866 The bug was caused by a couple of things, firstly when specifying only a level, the axis default was None. This meant it failed to create the internal grouper breaking on line 254 of groupby.py: ``` python ax = obj._get_axis(self.axis) ``` Secondly, the aggregate function is set up to take a basegroup...
https://api.github.com/repos/pandas-dev/pandas/pulls/8964
2014-12-02T11:45:28Z
2014-12-05T01:59:06Z
null
2014-12-05T05:15:44Z
Fixes #8933 simple renaming
diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index 7dfdc88dddbff..5b3e9e8a22b12 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -18,7 +18,7 @@ from pandas.core.common import (CategoricalDtype, ABCSeries, isnull, notnull, is_categorica...
closes #8933 Refactored _is_sequence to is_sequence
https://api.github.com/repos/pandas-dev/pandas/pulls/8959
2014-12-02T09:00:48Z
2014-12-02T10:52:26Z
2014-12-02T10:52:26Z
2014-12-02T10:52:26Z
ENH: add contextmanager to HDFStore (#8791)
diff --git a/doc/source/io.rst b/doc/source/io.rst index ba19173546cb2..f2d5924edac77 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -2348,7 +2348,7 @@ Closing a Store, Context Manager # Working with, and automatically closing the store with the context # manager - with get_store('store.h5') as s...
Added a context manager to HDFStore closes #8791
https://api.github.com/repos/pandas-dev/pandas/pulls/8958
2014-12-02T08:59:57Z
2014-12-04T11:30:36Z
2014-12-04T11:30:36Z
2014-12-04T11:30:51Z
Cookbook text fix
diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index 8378873db9a65..6e411626ca770 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -489,9 +489,9 @@ Unlike agg, apply's callable is passed a sub-DataFrame which gives you access to .. ipython:: python def GrowUp(x): - avg_w...
Closes #8944
https://api.github.com/repos/pandas-dev/pandas/pulls/8957
2014-12-02T00:11:05Z
2014-12-03T00:20:09Z
null
2014-12-04T00:08:00Z
Applying max_colwidth to the DataFrame index (#7856)
diff --git a/doc/source/whatsnew/v0.16.0.txt b/doc/source/whatsnew/v0.16.0.txt index 19bda851e392b..9a4e65819422b 100644 --- a/doc/source/whatsnew/v0.16.0.txt +++ b/doc/source/whatsnew/v0.16.0.txt @@ -543,3 +543,5 @@ Bug Fixes - Bug in ``Series.values_counts`` with excluding ``NaN`` for categorical type ``Series``...
closes #7856 reports a problem with the application of max_colwidth to groupby. The real problem is that max_colwidth is not applied to the index. This patch solves that. I am not applying self.justify to the formatting of the index (as that would break a test). But maybe it makes more sense to change the test?
https://api.github.com/repos/pandas-dev/pandas/pulls/8954
2014-12-01T21:06:12Z
2015-04-28T12:00:07Z
null
2015-04-28T12:00:07Z
Doc for GH 8946
diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst index a7091d6ab38fb..2a4c78ad837d1 100644 --- a/doc/source/categorical.rst +++ b/doc/source/categorical.rst @@ -328,13 +328,23 @@ old categories must be included in the new categories and no new categories are Comparisons ----------- -Comparing `C...
For https://github.com/pydata/pandas/pull/8946
https://api.github.com/repos/pandas-dev/pandas/pulls/8952
2014-12-01T17:17:45Z
2014-12-02T12:15:59Z
null
2014-12-02T12:15:59Z
Updating generic.py error message #8618 - New branch
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 52f37ee24f69a..059cdff8996f7 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2875,10 +2875,12 @@ def groupby(self, by=None, axis=0, level=None, as_index=True, sort=True, GroupBy object """ - from pandas....
closes #8015 I deleted the previous branch that was causing problems and submitted this. This is my first attempt at a PR. I just made a little change to allow an error message. Would appreciate some feedback. @jreback @jorisvandenbossche @hayd
https://api.github.com/repos/pandas-dev/pandas/pulls/8950
2014-12-01T08:24:17Z
2014-12-03T10:51:37Z
null
2014-12-03T10:52:43Z
BLD/TST: skip mpl 1.2.1 tests (GH8947)
diff --git a/.travis.yml b/.travis.yml index ea1a0d9d6752a..bf6a3f166e706 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,6 +38,13 @@ matrix: - BUILD_TYPE=conda - JOB_NAME: "27_nslow" - DOC_BUILD=true # if rst files were changed, build docs in parallel with tests + - python: 2.7 + env: + ...
closes #8947 add SLOW build (optional)
https://api.github.com/repos/pandas-dev/pandas/pulls/8949
2014-11-30T23:00:05Z
2014-11-30T23:37:41Z
2014-11-30T23:37:41Z
2014-11-30T23:37:41Z
BUG: preserve left frame order in left merge
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index fc560782816ff..9c585cebcbe18 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -101,6 +101,7 @@ Bug Fixes - ``slice`` string method now takes step into account (:issue:`8754`) - Bug in ``BlockManag...
closes https://github.com/pydata/pandas/issues/7331 on master: ``` >>> left dates states 0 20140101 CA 1 20140102 NY 2 20140103 CA >>> right stateid states 0 1 CA 1 2 NY >>> pd.merge(left, right, how='left', on='states', sort=False) dates states stateid 0 20140101...
https://api.github.com/repos/pandas-dev/pandas/pulls/8948
2014-11-30T22:20:32Z
2014-12-01T00:46:44Z
2014-12-01T00:46:44Z
2014-12-01T12:54:02Z
API: Allow equality comparisons of Series with a categorical dtype and object type are allowed (GH8938)
diff --git a/doc/source/categorical.rst b/doc/source/categorical.rst index a7091d6ab38fb..2a4c78ad837d1 100644 --- a/doc/source/categorical.rst +++ b/doc/source/categorical.rst @@ -328,13 +328,23 @@ old categories must be included in the new categories and no new categories are Comparisons ----------- -Comparing `C...
closes #8938
https://api.github.com/repos/pandas-dev/pandas/pulls/8946
2014-11-30T16:00:05Z
2014-12-04T11:06:12Z
2014-12-04T11:06:12Z
2014-12-05T15:46:03Z
BUG: Fixed plot label shows as None. #8905
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 58dc1da214c05..9707cac00c05a 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -122,6 +122,7 @@ Bug Fixes - Bug in ``merge`` where ``how='left'`` and ``sort=False`` would not preserve left frame ord...
Fixes https://github.com/pydata/pandas/issues/8905
https://api.github.com/repos/pandas-dev/pandas/pulls/8945
2014-11-30T15:45:34Z
2015-05-01T16:08:58Z
null
2023-05-11T01:12:45Z
round function added to DatetimeIndex
diff --git a/pandas/tests/test_index.py b/pandas/tests/test_index.py index b7a18da3924c8..29b02c195680f 100644 --- a/pandas/tests/test_index.py +++ b/pandas/tests/test_index.py @@ -1886,6 +1886,28 @@ def test_reindex_preserves_tz_if_target_is_empty_list_or_array(self): self.assertEqual(str(index.reindex([])[0]...
closes #4314
https://api.github.com/repos/pandas-dev/pandas/pulls/8942
2014-11-30T14:10:47Z
2015-05-09T16:06:17Z
null
2022-10-13T00:16:17Z
BUG: Resample across multiple days
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 3aa50ad609064..d111dc34995d2 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -145,7 +145,8 @@ Bug Fixes - +- Bug in resample that causes a ValueError when resampling across multiple days + a...
Fixes an issue where resampling over multiple days causes a ValueError when a number of days between the normalized first and normalized last days is not a multiple of the frequency. Added test TestSeries.test_resample Closes #8683
https://api.github.com/repos/pandas-dev/pandas/pulls/8941
2014-11-30T13:33:57Z
2014-11-30T23:21:01Z
2014-11-30T23:21:01Z
2014-11-30T23:21:01Z
BUG: Fixed font size (set it on both x and y axis). #8765
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index eacccaa7cba92..f3f5cf41676da 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -99,6 +99,7 @@ Bug Fixes - Bug in ``BlockManager`` where setting values with different type would break block integrity...
Fix for https://github.com/pydata/pandas/issues/8765 The font size was only set on x axis if vertical or the y axis if horizontal.
https://api.github.com/repos/pandas-dev/pandas/pulls/8940
2014-11-30T12:41:40Z
2014-12-01T00:08:43Z
2014-12-01T00:08:43Z
2014-12-01T00:08:43Z
Adding encoding lines to files in tests/
diff --git a/pandas/tests/test_algos.py b/pandas/tests/test_algos.py index fe070cff2e0ea..b145400afe13b 100644 --- a/pandas/tests/test_algos.py +++ b/pandas/tests/test_algos.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- from pandas.compat import range import numpy as np diff --git a/pandas/tests/test_base.py b/pandas...
https://api.github.com/repos/pandas-dev/pandas/pulls/8939
2014-11-30T12:35:49Z
2014-12-03T22:31:15Z
2014-12-03T22:31:15Z
2014-12-03T22:31:15Z
Categorical: let unique only return used categories
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index d6d36fd8d14ba..377a9dea126e6 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -42,6 +42,9 @@ API changes - Bug in concat of Series with ``category`` dtype which were coercing to ``object``. (:iss...
Discussion see here: https://github.com/pydata/pandas/issues/8559#issuecomment-64189570
https://api.github.com/repos/pandas-dev/pandas/pulls/8937
2014-11-29T21:42:38Z
2014-11-30T16:09:10Z
2014-11-30T16:09:10Z
2014-11-30T16:09:14Z
ENH: Adds gcs module for IO with Google Cloud Storage
diff --git a/pandas/io/gcs.py b/pandas/io/gcs.py new file mode 100644 index 0000000000000..b2639fe6bc2db --- /dev/null +++ b/pandas/io/gcs.py @@ -0,0 +1,259 @@ +from StringIO import StringIO +import logging + +import pandas as pd + +from distutils.version import LooseVersion +from pandas import compat +from pandas.core...
Hi, This isn't ready for primetime yet, but I wanted to see if there was feedback, since it would be a new io module. Basic usage: ``` import pandas.io.gcs as gcs import pandas as pd import numpy as np df = pd.DataFrame({ 'a': np.random.normal(size=1e4), 'b': np.random.normal(size=1e4) }) gcs.to_gcs(df, "t...
https://api.github.com/repos/pandas-dev/pandas/pulls/8936
2014-11-29T21:17:54Z
2015-05-09T15:58:22Z
null
2015-05-09T15:58:22Z
BUG: fix doctests in pandas.core.common
diff --git a/pandas/core/common.py b/pandas/core/common.py index 759f5f1dfaf7a..6aff67412d677 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -404,9 +404,13 @@ def array_equivalent(left, right, strict_nan=False): Examples -------- - >>> array_equivalent(np.array([1, 2, nan]), np.array([...
$ nosetests pandas/core/common.py --with-doc -v
https://api.github.com/repos/pandas-dev/pandas/pulls/8931
2014-11-29T17:08:12Z
2014-11-30T11:35:55Z
2014-11-30T11:35:55Z
2014-11-30T20:40:31Z
BUG: moving the utf encoding line to the first line (before from __futur...
diff --git a/pandas/tests/test_algos.py b/pandas/tests/test_algos.py index fe070cff2e0ea..b145400afe13b 100644 --- a/pandas/tests/test_algos.py +++ b/pandas/tests/test_algos.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- from pandas.compat import range import numpy as np diff --git a/pandas/tests/test_base.py b/pandas...
``` ERROR: Failure: SyntaxError (Non-ASCII character '\xc3' in file /home/fvia/bloom/pandas/pandas/tests/test_format.py on line 825, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details (test_format.py, line 825)) ```
https://api.github.com/repos/pandas-dev/pandas/pulls/8930
2014-11-29T16:53:50Z
2014-12-03T22:31:15Z
2014-12-03T22:31:15Z
2014-12-03T22:31:30Z
BUG: allow numpy.array as c values to scatterplot
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 11cf2450d2f28..9392e62ec00ec 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -156,6 +156,11 @@ Bug Fixes and the last offset is not calculated from the start of the range (:issue:`8683`) + +...
Ensure that we can pass an np.array as 'c' straight through to matplotlib, this functionality was accidentally removed previously. Add tests. Closes #8852
https://api.github.com/repos/pandas-dev/pandas/pulls/8929
2014-11-29T16:32:11Z
2014-12-03T22:33:53Z
2014-12-03T22:33:53Z
2014-12-03T22:38:46Z
Implement Categorical.searchsorted(v, side, sorter)
diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index 8378873db9a65..6e411626ca770 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -489,9 +489,9 @@ Unlike agg, apply's callable is passed a sub-DataFrame which gives you access to .. ipython:: python def GrowUp(x): - avg_w...
Continued in #8972 This closes #8420, with code that supports searchsorted in Categorical, for both side='left'/'right' and with an optional sorter. The case of side='right' was tricky, as we look to the right only when matching the category name, not when matching the codes. The docstring and unit tests cover the var...
https://api.github.com/repos/pandas-dev/pandas/pulls/8928
2014-11-29T15:55:50Z
2014-12-03T08:27:50Z
null
2014-12-03T08:28:03Z
BUG: fixed chunksize guessed to 0 (py3 only). #8621
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index eacccaa7cba92..bed8ace26b82d 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -99,6 +99,7 @@ Bug Fixes - Bug in ``BlockManager`` where setting values with different type would break block integrity...
Fixes https://github.com/pydata/pandas/issues/8621 As mentioned in the github issue its a py3 only bug. I copied the test @rmorgans made
https://api.github.com/repos/pandas-dev/pandas/pulls/8927
2014-11-29T14:03:47Z
2014-12-03T22:37:35Z
2014-12-03T22:37:35Z
2014-12-03T22:37:49Z
ENH: dtype costumization on to_sql (GH8778)
diff --git a/doc/source/io.rst b/doc/source/io.rst index bf8776d4bc396..e05840bfdfd5e 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -3413,6 +3413,14 @@ With some databases, writing large DataFrames can result in errors due to packet Because of this, reading the database table back in does **not** gener...
This is the proposed general gist of the changes. My ad-hoc testing suggests that this might work. If this is an acceptible design, I will proceed to make the formal test and change the docs (including docstrings) Closes #8778
https://api.github.com/repos/pandas-dev/pandas/pulls/8926
2014-11-29T13:33:44Z
2014-12-02T23:31:30Z
2014-12-02T23:31:30Z
2014-12-02T23:31:44Z
BUG: Option context applies on __enter__
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 3aa50ad609064..d299121092987 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -142,7 +142,7 @@ Bug Fixes - +- BUG: Option context applies on __enter__ (:issue:`8514`) diff --git a/pandas...
Option context no longer overrides options when used outside a `with` statement. Added test TestConfig.test_option_config_scope Closes #8514
https://api.github.com/repos/pandas-dev/pandas/pulls/8925
2014-11-29T13:19:45Z
2014-11-29T16:48:19Z
2014-11-29T16:48:19Z
2014-11-29T16:48:19Z
astype checks notnull Fixes: #8732
diff --git a/pandas/core/internals.py b/pandas/core/internals.py index ef33e27d861fd..750b47786dec3 100644 --- a/pandas/core/internals.py +++ b/pandas/core/internals.py @@ -398,7 +398,10 @@ def _astype(self, dtype, copy=False, raise_on_error=True, values=None, # force the copy here if values i...
As suggested in issue #8732 if there are no nulls, we skip the nan_safe bit.
https://api.github.com/repos/pandas-dev/pandas/pulls/8924
2014-11-29T12:37:50Z
2014-11-29T14:26:28Z
null
2014-11-29T22:29:04Z
TST: harmonize testing namespace in TestCase (GH8023)
diff --git a/pandas/util/testing.py b/pandas/util/testing.py index 2a4026094ac10..8af30da103572 100644 --- a/pandas/util/testing.py +++ b/pandas/util/testing.py @@ -72,13 +72,15 @@ def reset_testing_mode(): if 'deprecate' in testing_mode: warnings.simplefilter('ignore', DeprecationWarning) + set_testin...
closes #8023 Merged via https://github.com/pydata/pandas/commit/ace3c46be0ebf12f0eb4b63f22843d76b67ccfde
https://api.github.com/repos/pandas-dev/pandas/pulls/8923
2014-11-29T12:30:02Z
2014-12-01T00:07:21Z
null
2014-12-01T00:57:47Z
CLN: move import to top of file
diff --git a/pandas/core/config.py b/pandas/core/config.py index 60dc1d7d0341e..6768e0af0dfb6 100644 --- a/pandas/core/config.py +++ b/pandas/core/config.py @@ -51,6 +51,7 @@ import re from collections import namedtuple +from contextlib import contextmanager import warnings from pandas.compat import map, lmap, u ...
For consistency with [PEP8](https://www.python.org/dev/peps/pep-0008#id17): ``` Imports are always put at the top of the file, just after any module comments and docstrings, and before module globals and constants. ```
https://api.github.com/repos/pandas-dev/pandas/pulls/8922
2014-11-29T12:01:14Z
2014-11-29T12:32:55Z
2014-11-29T12:32:55Z
2014-12-03T22:40:43Z
DOC: specify return type in to_datetime
diff --git a/pandas/tseries/tools.py b/pandas/tseries/tools.py index 45bea00ac104f..f29ab14ed8745 100644 --- a/pandas/tseries/tools.py +++ b/pandas/tseries/tools.py @@ -177,7 +177,7 @@ def to_datetime(arg, errors='ignore', dayfirst=False, utc=None, box=True, format=None, coerce=False, unit='ns', ...
related #8919
https://api.github.com/repos/pandas-dev/pandas/pulls/8921
2014-11-29T00:38:47Z
2014-11-29T13:44:17Z
2014-11-29T13:44:17Z
2014-11-29T13:44:21Z
BUG/ENH: cleanup for Timestamp arithmetic
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index d6d36fd8d14ba..b13f762d0fd27 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -66,9 +66,9 @@ Enhancements - Added support for ``utcfromtimestamp()``, ``fromtimestamp()``, and ``combine()`` on `Time...
Fixes #8865 (Timestamp - Timestamp -> Timedelta) This PR cleans up and extends `Timestamp` arithmetic similarly to my treatment for `Timedelta` in #8884. It includes a new `to_datetime64()` method, and arithmetic now works between Timestamp and ndarrays. I also ensure comparison operations work properly between all o...
https://api.github.com/repos/pandas-dev/pandas/pulls/8916
2014-11-28T05:37:15Z
2014-12-09T23:26:55Z
null
2014-12-09T23:27:02Z
ENH: adds ability to generate bq schema from df
diff --git a/doc/source/io.rst b/doc/source/io.rst index bf8776d4bc396..852e7e6392a09 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -3643,6 +3643,14 @@ data quickly, but it is not a direct replacement for a transactional database. You can access the management console to determine project id's by: <https:...
I need this function for some other work I have in a branch (to_gbq w/ a new table and to_gbq with staging in gcs). I saw issue #8325 and thought this might be a good intermediate step.
https://api.github.com/repos/pandas-dev/pandas/pulls/8915
2014-11-28T04:41:41Z
2014-12-03T22:38:33Z
2014-12-03T22:38:33Z
2014-12-03T22:38:40Z
DOC: Issue #8805
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 237012a71aeb4..a464b687209cb 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3279,7 +3279,7 @@ def update(self, other, join='left', overwrite=True, filter_func=None, Parameters ---------- other : DataFrame, or obj...
xref #8805 Documentation suggests other types of join, but only 'left' is implemented.
https://api.github.com/repos/pandas-dev/pandas/pulls/8912
2014-11-27T20:07:45Z
2014-11-28T01:02:21Z
2014-11-28T01:02:21Z
2014-11-28T01:02:25Z
ENH: make Series work with map objects the same way as generators
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 1e84762b60caa..2429aa2c696fa 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -69,6 +69,30 @@ Enhancements - ``Timedelta`` arithmetic returns ``NotImplemented`` in unknown cases, allowing extension...
https://api.github.com/repos/pandas-dev/pandas/pulls/8909
2014-11-27T16:28:25Z
2014-12-03T22:43:46Z
2014-12-03T22:43:46Z
2014-12-04T02:36:45Z
BUG: DatetimeIndex with time object as key
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 1e84762b60caa..b740ac948dc05 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -97,6 +97,7 @@ Bug Fixes - ``sql_schema`` now generates dialect appropriate ``CREATE TABLE`` statements (:issue:`8697`)...
closes https://github.com/pydata/pandas/issues/8667 on master: ``` >>> from datetime import time >>> from pandas.index import _SIZE_CUTOFF >>> n = _SIZE_CUTOFF + 100 >>> idx = pd.date_range('2014-11-26', periods=n, freq='S') >>> ts = pd.Series(np.random.randn(n), index=idx) >>> key = time(15, 0) >>> ts[key] TypeError:...
https://api.github.com/repos/pandas-dev/pandas/pulls/8907
2014-11-27T14:54:46Z
2014-11-29T22:03:08Z
2014-11-29T22:03:08Z
2014-11-30T15:11:42Z
PERF: add exact kw to to_datetime to enable faster regex format parsing
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 10b23605cca85..7e8a4c7ba4faf 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -78,6 +78,7 @@ Enhancements - Added ``gbq.generate_bq_schema`` function to the gbq module (:issue:`8325`). - ``Series`...
closes #8989 closes #8903 Clearly the default is exact=True for back-compat but allows for a match starting at the beginning (has always been like this), but doesn't require the string to ONLY match the format, IOW, can be extra stuff after the match. Avoids having to do a regex replace first. ``` In [21]: s = Ser...
https://api.github.com/repos/pandas-dev/pandas/pulls/8904
2014-11-27T02:48:55Z
2014-12-05T14:32:51Z
2014-12-05T14:32:51Z
2014-12-05T14:33:51Z
WIP: add multi-multi index support to join
diff --git a/pandas/core/index.py b/pandas/core/index.py index a4eca1216ea84..2c4d25b30148b 100644 --- a/pandas/core/index.py +++ b/pandas/core/index.py @@ -1372,6 +1372,7 @@ def _join_multi(self, other, how, return_indexers=True): raise ValueError("cannot join with no level specified and no overlapping na...
closes #6360
https://api.github.com/repos/pandas-dev/pandas/pulls/8898
2014-11-26T14:45:41Z
2015-05-09T16:06:08Z
null
2022-10-13T00:16:17Z
COMPAT: windows compat for tests for dtype inference in parser xref (GH8833)
diff --git a/pandas/io/tests/test_parsers.py b/pandas/io/tests/test_parsers.py index 7b8bdeb1f38b8..228dad984bb3c 100644 --- a/pandas/io/tests/test_parsers.py +++ b/pandas/io/tests/test_parsers.py @@ -3173,8 +3173,9 @@ def test_dtype_and_names_error(self): tm.assert_frame_equal(result, expected) # f...
https://api.github.com/repos/pandas-dev/pandas/pulls/8896
2014-11-26T01:32:09Z
2014-11-26T01:32:36Z
2014-11-26T01:32:36Z
2016-02-12T17:40:26Z
modified: pandas/io/ga.py
diff --git a/pandas/io/ga.py b/pandas/io/ga.py index 57de5c6f5abb4..7646e973fa3aa 100644 --- a/pandas/io/ga.py +++ b/pandas/io/ga.py @@ -25,18 +25,32 @@ NO_CALLBACK = auth.OOB_CALLBACK_URN DOC_URL = auth.DOC_URL -_QUERY_PARAMS = """metrics : list of str +_QUERY_PARAMS = """ +metrics : list of str Un-prefixed m...
``` ENH I've made a number of alterations to this module to improve the usability of it. 1. A feature has been added to the 'filters' keyword, in that compound filters can now be created with AND and OR combinations as in the API, while still allowing the user to create the...
https://api.github.com/repos/pandas-dev/pandas/pulls/8895
2014-11-26T00:23:40Z
2015-03-25T23:20:41Z
null
2015-03-25T23:51:50Z
fix to_datetime default error suppression
diff --git a/pandas/tseries/tools.py b/pandas/tseries/tools.py index 45bea00ac104f..4f68d9fbb5afb 100644 --- a/pandas/tseries/tools.py +++ b/pandas/tseries/tools.py @@ -173,7 +173,7 @@ def _guess_datetime_format_for_array(arr, **kwargs): if len(non_nan_elements): return _guess_datetime_format(arr[non_nan_...
null
https://api.github.com/repos/pandas-dev/pandas/pulls/8894
2014-11-25T22:54:50Z
2015-05-09T16:06:43Z
null
2022-10-13T00:16:17Z
ENH/VIS: Pass DataFrame column to size argument in DataFrame.scatter
diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst index f30d6c9d5d4c0..42fa3da67ff4b 100644 --- a/doc/source/visualization.rst +++ b/doc/source/visualization.rst @@ -8,7 +8,7 @@ import pandas as pd from numpy.random import randn, rand, randint np.random.seed(123456) - from pandas im...
Originally discussed in #8244. Currently this only uses the column from the dataframe if the `s` argument is a string, supporting int column names is ambiguous and liable to break existing code, but if people can think of a good way to do this I'll try to add it. Example output: ``` python import pandas as pd import ...
https://api.github.com/repos/pandas-dev/pandas/pulls/8885
2014-11-24T10:47:40Z
2015-05-09T20:11:46Z
null
2022-10-13T00:16:16Z
BUG/ENH: cleanup for Timedelta arithmetic
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 6688f106f922e..d559b343e2013 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -66,6 +66,11 @@ Enhancements - Added support for ``utcfromtimestamp()``, ``fromtimestamp()``, and ``combine()`` on `Tim...
Fixes #8813 Fixes #5963 Fixes #5436 If the other argument has a dtype attribute, I assume that it is ndarray-like and convert the `Timedelta` into a `np.timedelta64` object. Alternatively, we could just return `NotImplemented` and let the other type handle it, but this has the bonus of making `Timedelta` compatible w...
https://api.github.com/repos/pandas-dev/pandas/pulls/8884
2014-11-24T05:08:33Z
2014-11-26T02:30:02Z
2014-11-26T02:30:01Z
2014-11-26T10:45:31Z
REF: refactor **kwargs usage
diff --git a/pandas/core/categorical.py b/pandas/core/categorical.py index fd9ef5d2e319a..73d6a17f4f2f3 100644 --- a/pandas/core/categorical.py +++ b/pandas/core/categorical.py @@ -913,7 +913,7 @@ def argsort(self, ascending=True, **kwargs): result = result[::-1] return result - def order(sel...
related issue: https://github.com/pydata/pandas/issues/8597. among changes: [tests/test_generic.py](https://github.com/pydata/pandas/blob/0a2ea0ac39a74771d54b91522728f6092b0ef897/pandas/tests/test_generic.py#L603) `downcast` is misspelled `donwcast`, but no error is raised, because of how `**kwargs` is used. [core/...
https://api.github.com/repos/pandas-dev/pandas/pulls/8883
2014-11-23T22:20:35Z
2015-03-04T20:42:39Z
null
2015-03-05T12:46:51Z
DOC: Add Nano to offsets table
diff --git a/doc/source/timeseries.rst b/doc/source/timeseries.rst index 7b0b0fdf624e8..ac3302ae40fa7 100644 --- a/doc/source/timeseries.rst +++ b/doc/source/timeseries.rst @@ -487,7 +487,7 @@ frequency increment. Specific offset logic like "month", "business day", or Second, "one second" Milli, "one millisec...
https://api.github.com/repos/pandas-dev/pandas/pulls/8879
2014-11-22T13:31:42Z
2014-11-22T16:48:54Z
2014-11-22T16:48:54Z
2014-11-22T21:16:26Z
DOC: Suppress warnings in visualization.rst
diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst index 7f8d0e529fc8b..6bef7f6f456c8 100644 --- a/doc/source/visualization.rst +++ b/doc/source/visualization.rst @@ -387,7 +387,6 @@ The existing interface ``DataFrame.boxplot`` to plot boxplot still can be used. np.random.seed(123456) .. ip...
Closes #8234. Sorry to take a long. I understand there are 2 warnings: 1. Warning in /Users/sin/Documents/Git/pandas/doc/source/visualization.rst at block ending on line 1275 This is raised from `mpl` as plotting empty axes for demonstration purpose. Thus simply suppressed. 2. Warning in /Users/sin/Documents/Git/pa...
https://api.github.com/repos/pandas-dev/pandas/pulls/8877
2014-11-22T04:28:48Z
2015-02-12T14:22:59Z
2015-02-12T14:22:59Z
2015-02-15T01:33:27Z
DOC: Add where and mask to API doc
diff --git a/doc/source/api.rst b/doc/source/api.rst index 079cf152095c5..d2f94c22f0335 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -394,6 +394,8 @@ Reindexing / Selection / Label manipulation Series.take Series.tail Series.truncate + Series.where + Series.mask Missing data handling ...
https://api.github.com/repos/pandas-dev/pandas/pulls/8876
2014-11-22T02:54:48Z
2014-11-22T16:49:21Z
2014-11-22T16:49:21Z
2014-11-22T21:16:17Z
BUG: missing nose import for skip test
diff --git a/pandas/tests/test_format.py b/pandas/tests/test_format.py index 47f9762eb0fa3..3e8534762ec05 100644 --- a/pandas/tests/test_format.py +++ b/pandas/tests/test_format.py @@ -27,6 +27,8 @@ option_context, reset_option) from datetime import datetime +import nose + _frame = ...
nose.SkipTest used but nose not imported.
https://api.github.com/repos/pandas-dev/pandas/pulls/8867
2014-11-21T02:24:20Z
2014-11-21T14:05:11Z
2014-11-21T14:05:11Z
2014-11-21T14:05:16Z
DOC: Clean up Stata documentation
diff --git a/doc/source/io.rst b/doc/source/io.rst index 9686a72d43cf8..bf8776d4bc396 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -3670,22 +3670,27 @@ into a .dta file. The format version of this file is always 115 (Stata 12). df.to_stata('stata.dta') *Stata* data files have limited data type suppo...
Clean up and simplification of Stata documentation.
https://api.github.com/repos/pandas-dev/pandas/pulls/8858
2014-11-19T16:21:09Z
2014-11-20T07:38:44Z
2014-11-20T07:38:44Z
2015-06-04T20:46:57Z
Clarify encoding kwarg on to_csv
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 0ea53920ffe3c..237012a71aeb4 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1137,8 +1137,8 @@ def to_csv(self, path_or_buf=None, sep=",", na_rep='', float_format=None, mode : str Python write mode, default 'w' ...
https://api.github.com/repos/pandas-dev/pandas/pulls/8857
2014-11-19T16:04:43Z
2014-11-20T10:58:48Z
2014-11-20T10:58:48Z
2014-11-20T11:15:00Z
BUG: DataFrame.stack(..., dropna=False) with partial MultiIndex.
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 8d6e3cb0512b4..ef1a9c011d19c 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -113,7 +113,8 @@ Bug Fixes - Bug where ``get_data_google``returned object dtypes (:issue:`3995`) - +- Bug in ``Data...
Closes #8844 Fixes `DataFrame.stack(..., dropna=False)` when the columns consist of a "partial" `MultiIndex`, i.e. one in which the `labels` don't reference all the `levels`.
https://api.github.com/repos/pandas-dev/pandas/pulls/8855
2014-11-19T07:09:27Z
2014-12-02T11:14:42Z
2014-12-02T11:14:42Z
2014-12-02T20:13:13Z
BUG: Panel4D setitem by indexer to Series fails for mixed-dtype
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 6688f106f922e..d66e4059a99e2 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -151,3 +151,4 @@ Bug Fixes of the level names are numbers (:issue:`8584`). - Bug in ``MultiIndex`` where ``__contain...
This is another tweak to `_setitem_with_indexer` that allows it better to comprehend higher dimensional frames of mixed-dtype. With this tweak setting by indexer to a Series now works. Unfortunately setting to a DataFrame is still broken. I plan to open an issue for that.
https://api.github.com/repos/pandas-dev/pandas/pulls/8854
2014-11-19T06:02:11Z
2015-05-09T16:06:55Z
null
2022-10-13T00:16:15Z
BUG: type change breaks BlockManager integrity
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index 8d6e3cb0512b4..944a78ad3691e 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -71,6 +71,7 @@ Bug Fixes - ``Timedelta`` kwargs may now be numpy ints and floats (:issue:`8757`). - ``sql_schema`` now...
closes https://github.com/pydata/pandas/issues/8850 on master: ``` >>> cols = MultiIndex.from_tuples([('1st', 'a'), ('2nd', 'b'), ('3rd', 'c')]) >>> df = DataFrame([[1.0, 2, 3], [4.0, 5, 6]], columns=cols) >>> df['2nd'] = df['2nd'] * 2.0 # type change in block manager /usr/lib/python3.4/site-packages/numpy/lib/funct...
https://api.github.com/repos/pandas-dev/pandas/pulls/8853
2014-11-19T03:07:16Z
2014-11-20T22:55:08Z
2014-11-20T22:55:08Z
2014-11-21T01:00:59Z
BUG: Defined .size attribute across NDFrame objects to provide compat with numpy 1.9.1
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index b51da47563b1b..a06dae2aea4e0 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -75,7 +75,7 @@ Bug Fixes - +- Defined ``.size`` attribute across ``NDFrame`` objects to provide compat with numpy ...
closes #8846
https://api.github.com/repos/pandas-dev/pandas/pulls/8847
2014-11-18T11:09:54Z
2014-11-18T11:56:11Z
2014-11-18T11:56:11Z
2014-11-18T11:56:11Z
BUG: Implement step in slice StringMethod
diff --git a/doc/source/whatsnew/v0.15.2.txt b/doc/source/whatsnew/v0.15.2.txt index c85a9376fc93f..f8b20eaace50e 100644 --- a/doc/source/whatsnew/v0.15.2.txt +++ b/doc/source/whatsnew/v0.15.2.txt @@ -69,6 +69,7 @@ Bug Fixes - ``io.data.Options`` now raises ``RemoteDataError`` when no expiry dates are available from Y...
Resolves #8754. Turned out to be dead simple too :)
https://api.github.com/repos/pandas-dev/pandas/pulls/8843
2014-11-17T20:48:47Z
2014-11-18T10:14:22Z
2014-11-18T10:14:22Z
2014-11-18T10:14:55Z
ENH: Allow unicode separators in to_csv & read_csv
diff --git a/pandas/core/common.py b/pandas/core/common.py index 759f5f1dfaf7a..2e97382d2c6ff 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -2695,12 +2695,17 @@ class UnicodeReader: A CSV reader which will iterate over lines in the CSV file "f", which is encoded in the given encodi...
- single byte UTF8 separators will always work if utf8 encoding is specified (i.e. seps in range(256)) - single byte delimiters with encodings will always work in Python 3, but will not work in Python 2 if they are multibyte when coerced to UTF8 - multi byte delimiters with encodings will not work on reads with C engin...
https://api.github.com/repos/pandas-dev/pandas/pulls/8841
2014-11-17T16:40:39Z
2015-05-09T16:07:09Z
null
2022-10-13T00:16:15Z
TST: add tests for index.groupby (GH5620)
diff --git a/pandas/core/index.py b/pandas/core/index.py index 2de9b2fac9aa9..6702a21167850 100644 --- a/pandas/core/index.py +++ b/pandas/core/index.py @@ -1555,6 +1555,20 @@ def _possibly_promote(self, other): return self, other def groupby(self, to_groupby): + """ + Group the index labe...
Closes #5620 Also added a docstring.
https://api.github.com/repos/pandas-dev/pandas/pulls/8840
2014-11-17T15:15:44Z
2014-11-18T10:15:13Z
2014-11-18T10:15:13Z
2014-11-18T10:15:19Z