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
ENH: Implement "standard error of the mean"
diff --git a/doc/source/api.rst b/doc/source/api.rst index c037dfa8d7acf..bc257ffa0ad6c 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -350,6 +350,7 @@ Computations / Descriptive Stats Series.prod Series.quantile Series.rank + Series.sem Series.skew Series.std Series.sum @@ -642,6...
closes #6897 As discussed in issue #6897, here is a pull request implemented "standard error of the mean" (sem) calculations in pandas. This is an extremely common but very simple statistical test. It is used pretty universally in scientific data analysis. sem is implemented in nanops, generic, and groupby. Unit t...
https://api.github.com/repos/pandas-dev/pandas/pulls/7133
2014-05-15T13:54:42Z
2014-06-05T10:22:55Z
2014-06-05T10:22:55Z
2014-06-13T13:17:11Z
BUG/API: info repr should honor display.max_info_columns
diff --git a/doc/source/release.rst b/doc/source/release.rst index 50c79b8e8a2bf..973dfd73307f2 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -515,6 +515,7 @@ Bug Fixes - Bug in the HTML repr of a truncated Series or DataFrame not showing the class name with the `large_repr` set to 'info' (:is...
Closes https://github.com/pydata/pandas/issues/6939 I think this is what we agreed on. The tests are split up. In `test_format` we do more of the following global settings tests. The rest are in `test_frame` which directly call `df.info()` and I'm basically testing that the kwargs there override the global settings.
https://api.github.com/repos/pandas-dev/pandas/pulls/7130
2014-05-14T18:41:11Z
2014-05-14T19:57:32Z
2014-05-14T19:57:32Z
2016-11-03T12:38:01Z
BUG: cleanup on describe
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 9172d174a1354..04ab4fb14d512 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3573,22 +3573,18 @@ def describe_numeric_1d(series, percentiles): [series.max()]) def describe_categorical_1d(data): - ...
use value_counts instead of `Counter` and make the tests unambiguous. Came up in https://github.com/pydata/pandas/pull/7088#issuecomment-43034004
https://api.github.com/repos/pandas-dev/pandas/pulls/7129
2014-05-14T17:28:38Z
2014-05-14T18:22:41Z
2014-05-14T18:22:41Z
2016-11-03T12:37:59Z
Changed the link to my entries in the cookbook
diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index fa7876c3e28a2..3e2cd654144c9 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -405,10 +405,10 @@ using that handle to read. <http://github.com/pydata/pandas/issues/2886>`__ `Dealing with bad lines II -<http://nipunbatra.wordpr...
Updated my blog location where I had kept these entries.
https://api.github.com/repos/pandas-dev/pandas/pulls/7125
2014-05-14T09:17:59Z
2014-05-14T12:50:22Z
2014-05-14T12:50:22Z
2014-07-09T23:34:46Z
API: change default for show_dimensions to 'truncate', related (GH7108, GH6547)
diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py index 48665bc98ab6c..f8c09acaef1fb 100644 --- a/pandas/core/config_init.py +++ b/pandas/core/config_init.py @@ -249,7 +249,7 @@ def mpl_style_cb(key): cf.register_option('encoding', detect_console_encoding(), pc_encoding_doc, ...
xref: #7108 xref: #6547
https://api.github.com/repos/pandas-dev/pandas/pulls/7122
2014-05-14T01:02:39Z
2014-05-14T01:34:28Z
2014-05-14T01:34:28Z
2014-06-25T17:33:33Z
SQL: add release notes for refactor (GH6292)
diff --git a/doc/source/io.rst b/doc/source/io.rst index 9fdf26172cab2..8b4e450ef80c7 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -3160,7 +3160,8 @@ your database. .. versionadded:: 0.14.0 If SQLAlchemy is not installed, a fallback is only provided for sqlite (and -for mysql for backwards compatibilit...
This should (finally) close #6292. WIP for now, but comments welcome. Have to add to release.rst. @jreback Should I mark the new sql as experimental? (and if so, where should I do this?)
https://api.github.com/repos/pandas-dev/pandas/pulls/7120
2014-05-13T20:39:16Z
2014-05-17T00:04:46Z
2014-05-17T00:04:45Z
2014-06-18T01:56:14Z
TST: numpy 1.9 -dev exception changes indatetime64 indexing (GH7116)
diff --git a/pandas/__init__.py b/pandas/__init__.py index 442c6b08c9dce..6eda049835526 100644 --- a/pandas/__init__.py +++ b/pandas/__init__.py @@ -30,6 +30,7 @@ _np_version_under1p6 = LooseVersion(_np_version) < '1.6' _np_version_under1p7 = LooseVersion(_np_version) < '1.7' _np_version_under1p8 = LooseVersion(_np_...
closes #7116
https://api.github.com/repos/pandas-dev/pandas/pulls/7118
2014-05-13T17:47:22Z
2014-05-13T22:20:39Z
2014-05-13T22:20:39Z
2014-06-28T11:19:11Z
BUG: Regression in the display of a MultiIndexed Series with display.max_rows (GH7101)
diff --git a/doc/source/release.rst b/doc/source/release.rst index b12f4eca010d9..946bdcd48cfaf 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -337,6 +337,8 @@ Improvements to existing features - ``GroupBy.count()`` is now implemented in Cython and is much faster for large numbers of groups (:i...
closes #7101
https://api.github.com/repos/pandas-dev/pandas/pulls/7114
2014-05-13T15:46:02Z
2014-05-13T16:27:19Z
2014-05-13T16:27:19Z
2014-06-30T14:19:44Z
ENH: add nlargest nsmallest to Series
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index ca9751569336c..5aa84f46debea 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -1311,6 +1311,21 @@ Some other sorting notes / nuances: compatibility with NumPy methods which expect the ``ndarray.sort`` behavior. +.. versionadde...
closes #3960 xref: #5534
https://api.github.com/repos/pandas-dev/pandas/pulls/7113
2014-05-13T14:29:25Z
2014-05-14T21:21:48Z
2014-05-14T21:21:48Z
2014-07-22T18:13:46Z
BUG: tzinfo lost when concatenating multiindex arrays
diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt index 5e1d237b2b559..a2ea345051afd 100644 --- a/doc/source/v0.14.1.txt +++ b/doc/source/v0.14.1.txt @@ -70,3 +70,4 @@ Bug Fixes - Bug in ``DataFrame`` and ``Series`` bar and barh plot raises ``TypeError`` when ``bottom`` and ``left`` keyword is specified ...
Closes #6606. The problem is caused by `MultiIndex.append`. Based on current master, `MultiIndex.append` works as below. The fix covers case1 and case2 which the result will be `MultiIndex`. The fix is applied to `concat`, and also `pivot_table` work as expected. ``` import pandas as pd idx1 = pd.Index([1.1, 1.2,...
https://api.github.com/repos/pandas-dev/pandas/pulls/7112
2014-05-13T14:25:54Z
2014-06-04T00:12:40Z
2014-06-04T00:12:39Z
2014-06-14T22:31:57Z
API: allow option truncate for display.show_dimensions to only show dimensions if truncated (GH6457)
diff --git a/doc/source/release.rst b/doc/source/release.rst index c2cf938f6f806..b8e5b31bd873c 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -346,6 +346,8 @@ Improvements to existing features - Regression in the display of a MultiIndexed Series with ``display.max_rows`` is less than the lengt...
closes #6547 add the option 'trunctate'. Should this be the new default????? ``` dfd = pd.DataFrame(np.arange(25).reshape(-1,5), index=[0,1,2,3,4], columns=[0,1,2,3,4]) # show dimensions only if truncated with pd.option_context('display.max_rows', 2, 'display.max_columns', 2, 'display.show_dimensions', 'truncate'):...
https://api.github.com/repos/pandas-dev/pandas/pulls/7108
2014-05-13T13:20:41Z
2014-05-14T00:47:58Z
2014-05-14T00:47:57Z
2014-06-13T10:12:07Z
BUG: remove unique requirement rom MultiIndex.get_locs (GH7106)
diff --git a/doc/source/release.rst b/doc/source/release.rst index 429e4ea8169d1..190cf64884b44 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -295,7 +295,7 @@ Improvements to existing features the func (:issue:`6289`) - ``plot(legend='reverse')`` will now reverse the order of legend labels for...
enables slicing of non-unique multi-indexes with slicers, closes #7106
https://api.github.com/repos/pandas-dev/pandas/pulls/7107
2014-05-13T12:20:40Z
2014-05-13T12:54:42Z
2014-05-13T12:54:42Z
2014-06-30T19:48:12Z
TYPO: idxmax is maximum, not minimum
diff --git a/pandas/core/series.py b/pandas/core/series.py index fc9b9ad936351..23d267601b3a2 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -1179,7 +1179,7 @@ def idxmax(self, axis=None, out=None, skipna=True): Returns ------- - idxmax : Index of minimum of values + ...
Confusing doc typo was momentarily confusing.
https://api.github.com/repos/pandas-dev/pandas/pulls/7102
2014-05-12T15:35:31Z
2014-05-12T15:42:55Z
2014-05-12T15:42:55Z
2014-07-16T09:05:40Z
TST: sql add more tests (NaN handling, ..)
diff --git a/pandas/io/tests/test_sql.py b/pandas/io/tests/test_sql.py index 3299dd3d70c92..bf9b38d4a969d 100644 --- a/pandas/io/tests/test_sql.py +++ b/pandas/io/tests/test_sql.py @@ -486,8 +486,8 @@ def test_timedelta(self): with tm.assert_produces_warning(UserWarning): df.to_sql('test_timedelta...
This PR just adds some tests, not fixes to get them all running. Summary: - NaN writing not working for MySQL (or pymysql), but does work for sqlite and postgresql - NaN reading does work for float columns. But not for string columns (converted to None or u'NaN') or for sqlite full float columns - NaT in datetime colu...
https://api.github.com/repos/pandas-dev/pandas/pulls/7100
2014-05-11T17:03:28Z
2014-05-13T10:29:47Z
2014-05-13T10:29:47Z
2014-07-08T03:52:05Z
BUG: GroupBy doesn't preserve timezone
diff --git a/doc/source/release.rst b/doc/source/release.rst index 429e4ea8169d1..e9fd0f1d5fd48 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -497,6 +497,7 @@ Bug Fixes - Bug in ``quantile`` with datetime values (:issue:`6965`) - Bug in ``Dataframe.set_index``, ``reindex`` and ``pivot`` don't pr...
Closes #3950. This is a fix for `groupby` issue. (#7092 is for original report)
https://api.github.com/repos/pandas-dev/pandas/pulls/7099
2014-05-11T15:03:14Z
2014-05-13T12:13:26Z
2014-05-13T12:13:25Z
2014-06-13T19:00:49Z
BUG: DatetimeIndex with freq raises ValueError when passed value is short
diff --git a/doc/source/release.rst b/doc/source/release.rst index b12f4eca010d9..11684c32be5cc 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -499,6 +499,7 @@ Bug Fixes - Bug in ``MultiIndex.get_level_values`` doesn't preserve ``DatetimeIndex`` and ``PeriodIndex`` attributes (:issue:`7092`) - Bu...
When `DatetimeIndex` is created by passing `freq` and `check_integrity=True`, passed `freq` and `inferred_freq` must be identical. But this comparison can fail if length of passed data doesn't have enough length to infer freq. Added additional logic to determine whether passed values are on the passed `freq`.
https://api.github.com/repos/pandas-dev/pandas/pulls/7098
2014-05-11T14:01:33Z
2014-05-14T13:08:10Z
2014-05-14T13:08:10Z
2014-06-20T17:01:29Z
REGR: Regression in groupby.nth() for out-of-bounds indexers (GH6621)
diff --git a/doc/source/release.rst b/doc/source/release.rst index 6255281a451ed..b670e6b5cea05 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -490,6 +490,7 @@ Bug Fixes - Bug in ``MultiIndex.from_arrays`` created from ``DatetimeIndex`` doesn't preserve ``freq`` and ``tz`` (:issue:`7090`) - Bug i...
closes #6621
https://api.github.com/repos/pandas-dev/pandas/pulls/7094
2014-05-10T19:31:34Z
2014-05-10T19:49:51Z
2014-05-10T19:49:51Z
2014-07-16T09:05:33Z
BUG: Let DataFrame.quantile() handle datetime
diff --git a/doc/source/release.rst b/doc/source/release.rst index b670e6b5cea05..ec8f44f955043 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -491,6 +491,7 @@ Bug Fixes - Bug in ``unstack`` raises ``ValueError`` when ``MultiIndex`` contains ``PeriodIndex`` (:issue:`4342`) - Bug in ``boxplot`` an...
Closes https://github.com/pydata/pandas/issues/6965
https://api.github.com/repos/pandas-dev/pandas/pulls/7093
2014-05-10T17:20:15Z
2014-05-10T21:51:19Z
2014-05-10T21:51:19Z
2016-11-03T12:37:57Z
BUG: tz info lost by set_index and reindex
diff --git a/doc/source/release.rst b/doc/source/release.rst index 463cf928660dd..708300bca725d 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -495,6 +495,8 @@ Bug Fixes - Bug in ``boxplot`` and ``hist`` draws unnecessary axes (:issue:`6769`) - Regression in ``groupby.nth()`` for out-of-bounds in...
Closes #6631. Closes #5878. Regarding #3950, original problem can be fixed by this, but `groupby` problem isn't. Also, this includes the fix for `MultiIndex.get_level_values` doesn't retain `tz` and `freq`, as the method is used in `set_index`. ``` # current master >>> import pandas as pd >>> didx = pd.DatetimeIndex(...
https://api.github.com/repos/pandas-dev/pandas/pulls/7092
2014-05-10T15:28:00Z
2014-05-12T13:34:58Z
2014-05-12T13:34:58Z
2014-06-13T19:01:07Z
ENH/CLN: Add factorize to IndexOpsMixin
diff --git a/doc/source/api.rst b/doc/source/api.rst index aa5c58652d550..60e8fc634070e 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -335,6 +335,7 @@ Computations / Descriptive Stats Series.cumsum Series.describe Series.diff + Series.factorize Series.kurt Series.mad Series.max @...
As pointed in #7041, I prepared a PR to add `factorize` to `IndexOpsMixin`. As a side benefit, `Multiindex.from_arrays` can preserve original `DatetimeIndex.freq` and `tz`. (Related to #3950 and #6606. These issues are not solved yet because these use different methods to create `MultiIndex`). I would like to confi...
https://api.github.com/repos/pandas-dev/pandas/pulls/7090
2014-05-10T07:10:27Z
2014-05-10T14:12:03Z
2014-05-10T14:12:03Z
2014-06-17T15:25:56Z
BUG: use size attribute (not method call)
diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index 2c7f6c5e181da..b13b2121ac0c4 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -142,6 +142,11 @@ def _last(x): else: return _last(x) + +def _count_compat(x, axis=0): + return x.size + + class Grouper(object): "...
xref: #7055
https://api.github.com/repos/pandas-dev/pandas/pulls/7089
2014-05-09T19:08:36Z
2014-05-10T15:23:31Z
2014-05-10T15:23:31Z
2014-07-16T09:05:23Z
ENH/API: accept list-like percentiles in describe (WIP)
diff --git a/doc/source/basics.rst b/doc/source/basics.rst index 3538652c9bded..ca9751569336c 100644 --- a/doc/source/basics.rst +++ b/doc/source/basics.rst @@ -454,6 +454,7 @@ non-null values: series[10:20] = 5 series.nunique() +.. _basics.describe: Summarizing data: describe ~~~~~~~~~~~~~~~~~~~~~~~~~~ ...
Closes https://github.com/pydata/pandas/issues/4196 This is for frames. I'm going to refactor this into generic since to cover series / frames. A couple questions: - API wise, I added a new kwarg `percentiles`. For backwards compat, we keep the `percentile_width` kwarg. I changed the default `percentile_width` from 5...
https://api.github.com/repos/pandas-dev/pandas/pulls/7088
2014-05-09T18:17:16Z
2014-05-14T00:45:22Z
2014-05-14T00:45:22Z
2016-11-03T12:37:59Z
BUG: cache coherence issue with chain indexing and setitem (GH7084)
diff --git a/doc/source/release.rst b/doc/source/release.rst index 8422efd4247d1..5eaa0aa469a3c 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -482,6 +482,8 @@ Bug Fixes were being passed to plotting method - :func:`read_fwf` treats ``None`` in ``colspec`` like regular python slices. It now rea...
closes #7084
https://api.github.com/repos/pandas-dev/pandas/pulls/7087
2014-05-09T13:25:30Z
2014-05-09T18:21:49Z
2014-05-09T18:21:49Z
2014-06-26T19:40:48Z
Tidy representation when truncating dfs
diff --git a/doc/source/_static/trunc_after.png b/doc/source/_static/trunc_after.png new file mode 100644 index 0000000000000..950690de8d1ee Binary files /dev/null and b/doc/source/_static/trunc_after.png differ diff --git a/doc/source/_static/trunc_before.png b/doc/source/_static/trunc_before.png new file mode 100644 ...
This PR closes #5603 Dataframes are now truncated centrally (similar to pd.Series). Before: ![trunc_before](https://cloud.githubusercontent.com/assets/832380/2991707/9050ffe4-dc82-11e3-8a2c-083b09dae672.png) After: ![trunc_after](https://cloud.githubusercontent.com/assets/832380/3000645/649bf09e-dd26-11e3-889e-33a...
https://api.github.com/repos/pandas-dev/pandas/pulls/7086
2014-05-09T13:06:30Z
2014-05-16T19:44:16Z
2014-05-16T19:44:16Z
2014-06-17T06:37:31Z
adding a NotImplementedError for simultaneous use of nrows and chunksize...
diff --git a/doc/source/v0.14.1.txt b/doc/source/v0.14.1.txt index cdc35564cce61..db32f90377d8f 100644 --- a/doc/source/v0.14.1.txt +++ b/doc/source/v0.14.1.txt @@ -86,7 +86,8 @@ Enhancements - Add ``dropna`` argument to ``value_counts`` and ``nunique`` (:issue:`5569`). - +- Add ``NotImplementedError`` for simulta...
..., as the user intention most likely is to get a TextFileReader, when using the chunksize option. Fixes #6774
https://api.github.com/repos/pandas-dev/pandas/pulls/7085
2014-05-09T01:24:13Z
2014-06-24T13:16:52Z
2014-06-24T13:16:52Z
2014-06-24T13:16:58Z
SQL: datetime writing: add tests + issue with pymysql
diff --git a/pandas/io/tests/test_sql.py b/pandas/io/tests/test_sql.py index 9212e72017f85..3299dd3d70c92 100644 --- a/pandas/io/tests/test_sql.py +++ b/pandas/io/tests/test_sql.py @@ -29,9 +29,9 @@ from datetime import datetime from pandas import DataFrame, Series, Index, MultiIndex, isnull -from pandas import to_...
There were apparantly not yet tests for writing datetime data. So added a test case for both query/table. For MySQL using the pymysql driver, writing a datetime column is not working ... It gives following error: ``` In [65]: import pymysql In [66]: engine_mysql = sqlalchemy.create_engine('mysql+pymysql://root@localh...
https://api.github.com/repos/pandas-dev/pandas/pulls/7082
2014-05-08T21:40:56Z
2014-05-11T10:52:47Z
2014-05-11T10:52:47Z
2014-06-17T10:50:08Z
BUG: read_fwf colspec should treat None like slice
diff --git a/doc/source/io.rst b/doc/source/io.rst index 1aa6dde2c08b4..a0807088b2cf5 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -809,6 +809,8 @@ two extra parameters: String value 'infer' can be used to instruct the parser to try detecting the column specifications from the first 100 rows of t...
Closes https://github.com/pydata/pandas/issues/7079
https://api.github.com/repos/pandas-dev/pandas/pulls/7081
2014-05-08T21:08:46Z
2014-05-09T00:30:13Z
2014-05-09T00:30:13Z
2016-11-03T12:37:56Z
DOC: Remove newline in @verbatim code-block.
diff --git a/doc/source/10min.rst b/doc/source/10min.rst index d6c17a3066b86..4bca2f4a9d4c8 100644 --- a/doc/source/10min.rst +++ b/doc/source/10min.rst @@ -83,7 +83,6 @@ will be completed: @verbatim In [1]: df2.<TAB> - df2.A df2.boxplot df2.abs df2.C df2.add ...
This makes the tab-completed code show up in the rendered documentation.
https://api.github.com/repos/pandas-dev/pandas/pulls/7078
2014-05-08T18:55:44Z
2014-05-08T19:42:27Z
2014-05-08T19:42:27Z
2014-07-16T09:05:01Z
SQL: resolve legacy mode + deprecate mysql flavor (GH6900)
diff --git a/doc/source/io.rst b/doc/source/io.rst index 1aa6dde2c08b4..60a1ab01882a8 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -3159,9 +3159,9 @@ your database. .. versionadded:: 0.14.0 - -If SQLAlchemy is not installed a legacy fallback is provided for sqlite and mysql. -These legacy modes requir...
- removed warning for not using sqlalchemy (as sqlite DBAPI connection is fully supported, no warning needed) - added deprecation warning for 'mysql' flavor - removed necessity of providing flavor kwarg (no warning if not provided, assumed to be sqlite3) - removed `flavor` kwarg from execute and read_sql_query (because...
https://api.github.com/repos/pandas-dev/pandas/pulls/7077
2014-05-08T14:45:34Z
2014-05-11T09:54:15Z
2014-05-11T09:54:15Z
2016-07-11T12:50:56Z
FIX sql handling of timedelta64 columns (GH6921)
diff --git a/doc/source/io.rst b/doc/source/io.rst index a0807088b2cf5..212b2debc98a5 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -809,8 +809,6 @@ two extra parameters: String value 'infer' can be used to instruct the parser to try detecting the column specifications from the first 100 rows of t...
Closes #6921 Converting to an int was actually also how it was now with sqlite DBAPI fallback (as timedelta64 is subclass of integer), so this solution is also backwards compatible and consistent between sqlalchemy and fallback mode.
https://api.github.com/repos/pandas-dev/pandas/pulls/7076
2014-05-08T14:43:56Z
2014-05-11T09:55:01Z
2014-05-11T09:55:01Z
2014-09-06T09:40:27Z
Fix Xl(sx|wt)Writer always using date_format even if a datetime is supplied.
diff --git a/doc/source/release.rst b/doc/source/release.rst index 51a4b52953287..1d48674727d51 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -478,6 +478,7 @@ Bug Fixes - Bug in ``Float64Index.isin()`` where containing ``nan`` s would make indices claim that they contained all the things (:iss...
In the `XlsxWriter` and `XlwtWriter` implementations there is a minor bug resulting in the `datetime_format` being discarded (i.e. https://github.com/pydata/pandas/blob/master/pandas/io/excel.py#L662): ``` if isinstance(cell.val, datetime.datetime): num_format_str = self.datetime_format if isinstance(cell.val, dat...
https://api.github.com/repos/pandas-dev/pandas/pulls/7075
2014-05-08T08:57:46Z
2014-05-08T13:38:37Z
2014-05-08T13:38:37Z
2015-01-06T14:44:42Z
BUG: PEBKAC bug in Float64Index
diff --git a/doc/source/release.rst b/doc/source/release.rst index b5a11091779ec..728dddbe8b979 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -475,6 +475,8 @@ Bug Fixes caused possible color/class mismatch (:issue:`6956`) - Bug in ``radviz`` and ``andrews_curves`` where multiple values of 'col...
closes #7066
https://api.github.com/repos/pandas-dev/pandas/pulls/7068
2014-05-07T22:09:43Z
2014-05-08T12:39:13Z
2014-05-08T12:39:13Z
2014-07-16T09:04:53Z
Added dropna to docstring for HDFStore.put()
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 95daa2bbc2752..9fabf0ae960fe 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -809,6 +809,8 @@ def put(self, key, value, format=None, append=False, **kwargs): This will force Table format, append the input data to the ...
HDFStore.put() method accepts dropna boolean parameter as it is passed directly to the internal _write_to_group() method, but it was not explicitly documented (as it is for append). Also settable via option. Just added 2 lines to the put() method docstring to mention it explicitly - copied from append()
https://api.github.com/repos/pandas-dev/pandas/pulls/7064
2014-05-07T19:29:10Z
2014-05-08T14:25:49Z
2014-05-08T14:25:49Z
2014-07-16T09:04:52Z
DOC: One more cleanup on visualization.rst
diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst index d653cb53d6d5b..e5eee45894266 100644 --- a/doc/source/visualization.rst +++ b/doc/source/visualization.rst @@ -118,11 +118,12 @@ The ``kind`` keyword argument of :meth:`~DataFrame.plot` accepts a handful of values for plots other than the de...
Followup to https://github.com/pydata/pandas/pull/7054 DOC: fix formatting on plot formattting DOC: add KDE to other plots more bits of formatting Thanks for catching these
https://api.github.com/repos/pandas-dev/pandas/pulls/7062
2014-05-07T12:44:27Z
2014-05-07T13:14:48Z
2014-05-07T13:14:48Z
2016-11-03T12:37:55Z
ENH: use size instead of cythonized count for fallback cases
diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index 400f7e06df784..2c7f6c5e181da 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -722,8 +722,7 @@ def size(self): last = _groupby_function('last', 'last', _last_compat, numeric_only=False, _convert=True...
- use size instead of cythonized count for integer case since we cannot have `nan` in that case - not faster perf wise - compilation time is shorter because count has no int templates except for dates and times - any precision issues (don't think there were any) with other integer types are gone, since only `int64`...
https://api.github.com/repos/pandas-dev/pandas/pulls/7055
2014-05-06T14:02:58Z
2014-05-08T17:55:21Z
2014-05-08T17:55:21Z
2014-07-16T09:04:47Z
DOC: cleanup vis docs
diff --git a/doc/source/visualization.rst b/doc/source/visualization.rst index fbc0a9005d50d..d653cb53d6d5b 100644 --- a/doc/source/visualization.rst +++ b/doc/source/visualization.rst @@ -17,15 +17,6 @@ options.display.max_rows = 15 from pandas.compat import lrange -.. note:: - - All calls to ``np.random``...
DOC: Give KDE a section header DOC: remove extra slice in hexbin example DOC: move notes to look nicer A few changes that came up in https://github.com/pydata/pandas/pull/7027
https://api.github.com/repos/pandas-dev/pandas/pulls/7054
2014-05-06T13:39:00Z
2014-05-06T14:22:31Z
2014-05-06T14:22:31Z
2017-04-05T02:08:36Z
DOC: Small typo
diff --git a/doc/source/io.rst b/doc/source/io.rst index 249cfaf62878f..1aa6dde2c08b4 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -2875,7 +2875,7 @@ again **WILL TEND TO INCREASE THE FILE SIZE**. To *clean* the file, use Compression ~~~~~~~~~~~ -``PyTables`` allows the stored data to be compressed. Tt...
https://api.github.com/repos/pandas-dev/pandas/pulls/7047
2014-05-05T20:29:06Z
2014-05-05T21:07:18Z
2014-05-05T21:07:18Z
2014-07-16T09:04:45Z
DOC: Add parameter to docstring
diff --git a/pandas/tools/tile.py b/pandas/tools/tile.py index 99fa1eaba79cc..c2512ba2b4b38 100644 --- a/pandas/tools/tile.py +++ b/pandas/tools/tile.py @@ -38,6 +38,10 @@ def cut(x, bins, right=True, labels=None, retbins=False, precision=3, retbins : bool, optional Whether to return the bins or not. Can ...
I just kinda guessed what `precision` does.
https://api.github.com/repos/pandas-dev/pandas/pulls/7046
2014-05-05T19:54:13Z
2014-05-05T21:04:26Z
2014-05-05T21:04:26Z
2014-06-28T15:35:13Z
API: update nth to use the _set_selection_from_grouper makes first==nth(0) and last==nth(-1)
diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst index 4bdc69be777ba..bbb5060acc35d 100644 --- a/doc/source/groupby.rst +++ b/doc/source/groupby.rst @@ -397,7 +397,7 @@ index are the group names and whose values are the sizes of each group. named *columns*. Aggregating functions are ones that redu...
closes #6732 `nth` sets the index appropriately and the same as first/last. this becomes less like head/tail in that `as_index` determines when you have an index here's the revised behavior: ``` In [1]: df = DataFrame([[1, np.nan], [1, 4], [5, 6]], columns=['A', 'B']) In [3]: df Out[3]: A B 0 1 NaN 1 1 ...
https://api.github.com/repos/pandas-dev/pandas/pulls/7044
2014-05-05T12:43:30Z
2014-05-12T12:41:17Z
2014-05-12T12:41:17Z
2014-07-16T09:04:40Z
ENH/BUG: partial string indexing with PeriodIndex
diff --git a/doc/source/release.rst b/doc/source/release.rst index 4886850b928b1..b12f4eca010d9 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -498,6 +498,7 @@ Bug Fixes - Bug in ``Dataframe.set_index``, ``reindex`` and ``pivot`` don't preserve ``DatetimeIndex`` and ``PeriodIndex`` attributes (:is...
Closes #6716.
https://api.github.com/repos/pandas-dev/pandas/pulls/7043
2014-05-05T12:39:57Z
2014-05-13T14:29:35Z
2014-05-13T14:29:35Z
2014-06-17T01:47:00Z
TST: clean skipping tests in test_offsets
diff --git a/pandas/tseries/tests/test_offsets.py b/pandas/tseries/tests/test_offsets.py index fb18db805164b..86635271eb9c1 100644 --- a/pandas/tseries/tests/test_offsets.py +++ b/pandas/tseries/tests/test_offsets.py @@ -97,7 +97,7 @@ def test_to_m8(): ### DateOffset Tests ##### -class TestBase(tm.TestCase): +class...
https://api.github.com/repos/pandas-dev/pandas/pulls/7042
2014-05-05T11:50:26Z
2014-05-05T11:50:40Z
2014-05-05T11:50:40Z
2014-07-16T09:04:36Z
BUG: unstack fails in PeriodIndex
diff --git a/doc/source/release.rst b/doc/source/release.rst index 53abc22cd02f4..bf946840cdcd8 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -487,6 +487,7 @@ Bug Fixes views; mark ``is_copy`` on ``xs` only if its an actual copy (and not a view) (:issue:`7084`) - Bug in DatetimeIndex creation ...
Closes #4342. Also changed `Categorical` and `PeriodIndex.factorize` to make index sorted like other indexes do.
https://api.github.com/repos/pandas-dev/pandas/pulls/7041
2014-05-05T11:45:58Z
2014-05-10T15:32:36Z
2014-05-10T15:32:36Z
2014-06-28T15:35:06Z
PERF: optimize Index.delete for dtype=object
diff --git a/doc/source/release.rst b/doc/source/release.rst index 9bfc3609f5b6d..121cfb92b0eb2 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -124,8 +124,9 @@ API Changes - ``concat`` will now concatenate mixed Series and DataFrames using the Series name or numbering columns as needed (:issu...
This should close #6933. The downside of this patch is that we'll lose type inference that might change index type in rare occasions when index items have different dtypes. This is the same issue that occurred in #6440, and it was ruled out as infrequent and worth dropping for extra performance. Note though, that the...
https://api.github.com/repos/pandas-dev/pandas/pulls/7040
2014-05-05T11:18:41Z
2014-05-05T13:27:58Z
2014-05-05T13:27:58Z
2014-06-16T01:51:43Z
BUG: DatetimeIndex cannot parse string ndarray with dayfirst
diff --git a/doc/source/release.rst b/doc/source/release.rst index 5eaa0aa469a3c..3e6f7bb232156 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -484,6 +484,7 @@ Bug Fixes or until the end of the line when ``colspec`` contains a ``None`` (previously raised a ``TypeError``) - Bug in cache coherenc...
Closes #5917.
https://api.github.com/repos/pandas-dev/pandas/pulls/7038
2014-05-05T04:12:11Z
2014-05-10T11:32:16Z
2014-05-10T11:32:16Z
2014-07-16T09:04:30Z
TST/CLN: centralize common validation methods in test_graphics
diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py index cb3f9183beb81..c158aee096429 100644 --- a/pandas/tests/test_graphics.py +++ b/pandas/tests/test_graphics.py @@ -7,13 +7,14 @@ import string from distutils.version import LooseVersion -from datetime import datetime, date, timedelta +fro...
Create base class for plotting related test, and organized data creation and validation function.
https://api.github.com/repos/pandas-dev/pandas/pulls/7036
2014-05-05T01:15:25Z
2014-05-11T18:05:56Z
2014-05-11T18:05:56Z
2014-07-16T09:04:29Z
TST: nose.SkipTest on RemoteDataErrors in tests for io.data.Options
diff --git a/doc/source/release.rst b/doc/source/release.rst index 5b51100c28c71..9bfc3609f5b6d 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -457,6 +457,7 @@ Bug Fixes - Bug causing UnicodeEncodeError when get_dummies called with unicode values and a prefix (:issue:`6885`) - Bug in timeseries-w...
Prevents tests from failing if data isn't able to be downloaded from Yahoo Finance.
https://api.github.com/repos/pandas-dev/pandas/pulls/7034
2014-05-04T23:08:12Z
2014-05-05T10:00:59Z
2014-05-05T10:00:59Z
2014-06-16T05:08:36Z
BUG: fix reading multi-index data in python parser
diff --git a/doc/source/release.rst b/doc/source/release.rst index 064fd3cf12b2f..b5a11091779ec 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -457,6 +457,7 @@ Bug Fixes - accept ``TextFileReader`` in ``concat``, which was affecting a common user idiom (:issue:`6583`) - Bug in C parser with leadi...
partial fix for #6893 The python parser has a problem reading data with a multi-index specified in the row following the header, for example ``` python In [3]: text = """ A B C D E one two three four a b 10.0032 5 -0.5109 -2.3358 -0.4645 0.05076 0.3640 a q ...
https://api.github.com/repos/pandas-dev/pandas/pulls/7029
2014-05-03T20:04:50Z
2014-05-06T18:02:22Z
2014-05-06T18:02:22Z
2014-06-23T23:28:38Z
DOC: Visualization reorganization
diff --git a/doc/source/ecosystem.rst b/doc/source/ecosystem.rst index c1b7cf30067e3..fb0a0a0802bda 100644 --- a/doc/source/ecosystem.rst +++ b/doc/source/ecosystem.rst @@ -18,23 +18,40 @@ tools in the PyData space. We'd like to make it easier for users to find these project, if you know of other substantial projects...
Closes https://github.com/pydata/pandas/issues/6994 I still need to do one more read through. Happy to hear additional suggestions.
https://api.github.com/repos/pandas-dev/pandas/pulls/7027
2014-05-02T18:07:46Z
2014-05-05T19:52:08Z
2014-05-05T19:52:08Z
2017-04-05T02:07:52Z
BUG: error in Float64Index with contains and non-float (GH7025)
diff --git a/doc/source/release.rst b/doc/source/release.rst index a0a96ebbd5c70..cfc23267f8ece 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -456,6 +456,7 @@ Bug Fixes - Bug in ``iloc`` when setting / aligning (:issue:`6766`) - Bug causing UnicodeEncodeError when get_dummies called with unicode...
closes #7025
https://api.github.com/repos/pandas-dev/pandas/pulls/7026
2014-05-02T12:44:11Z
2014-05-02T21:37:21Z
2014-05-02T21:37:21Z
2014-07-05T02:58:59Z
BLD: use sqlalchemy 0.7.1 in 2.6 build (GH6340)
diff --git a/ci/requirements-2.6.txt b/ci/requirements-2.6.txt index 4ed488795fb07..d101ab9d6876f 100644 --- a/ci/requirements-2.6.txt +++ b/ci/requirements-2.6.txt @@ -6,7 +6,9 @@ http://www.crummy.com/software/BeautifulSoup/bs4/download/4.2/beautifulsoup4-4.2 html5lib==1.0b2 bigquery==2.0.17 numexpr==1.4.2 -sqlalc...
closes #6340
https://api.github.com/repos/pandas-dev/pandas/pulls/7022
2014-05-01T20:04:30Z
2014-06-14T13:15:12Z
2014-06-14T13:15:12Z
2014-06-14T13:15:12Z
TST: tests for groupby not using grouper column, solved in GH7000, (GH5614)
diff --git a/doc/source/release.rst b/doc/source/release.rst index 4532c1d6eee11..f970d67faa752 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -188,7 +188,7 @@ API Changes validation warnings in :func:`read_csv`/:func:`read_table` (:issue:`6607`) - Raise a ``TypeError`` when ``DataFrame`` is pa...
closes #5614
https://api.github.com/repos/pandas-dev/pandas/pulls/7019
2014-05-01T14:32:42Z
2014-05-01T15:13:57Z
2014-05-01T15:13:57Z
2014-07-16T09:04:12Z
ENH: cythonize groupby.count
diff --git a/doc/source/release.rst b/doc/source/release.rst index a6aa842940bc0..2151407b8c2fd 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -313,6 +313,8 @@ Improvements to existing features in item handling (:issue:`6745`, :issue:`6988`). - Improve performance in certain reindexing operatio...
closes #7003 - [x] vbench - ~~axis parameter~~ (this only works in non-cython land) - [x] tests for `object` dtype if there are none - [x] datetime64/timedelta64 count vbench results: ``` ------------------------------------------------------------------------------- Test name | hea...
https://api.github.com/repos/pandas-dev/pandas/pulls/7016
2014-04-30T22:12:47Z
2014-05-05T22:18:47Z
2014-05-05T22:18:47Z
2014-06-13T01:26:49Z
ERR: more informative error message on bool arith op failures
diff --git a/doc/source/release.rst b/doc/source/release.rst index b8e5b31bd873c..86407ed19a772 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -206,6 +206,8 @@ API Changes - Added ``factorize`` functions to ``Index`` and ``Series`` to get indexer and unique values (:issue:`7090`) - :meth:`DataFra...
closes #7011
https://api.github.com/repos/pandas-dev/pandas/pulls/7015
2014-04-30T20:52:28Z
2014-05-14T05:00:40Z
2014-05-14T05:00:40Z
2014-06-25T08:57:46Z
Added selection example to cookbook
diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index 46a5d8c870a9d..c2ad8492473b3 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -60,28 +60,27 @@ Selection The :ref:`indexing <indexing>` docs. -Indexing using both row labels and conditionals, see -`here +`Indexing using both ...
I added a (for me) very helpful Q&A from Stackoverflow on groupby/minimization while retaining the original DataFrame columns. Additionally, I cleaned up some links in the same cookbok section. (Disclaimer: this is my first pull request.)
https://api.github.com/repos/pandas-dev/pandas/pulls/7012
2014-04-30T18:15:27Z
2014-04-30T18:56:37Z
2014-04-30T18:56:37Z
2014-06-30T11:25:11Z
BLD/TST: Python3.4 testing via travis
diff --git a/.travis.yml b/.travis.yml index 5eef300d0644e..d4341b11c6eb9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,16 +46,32 @@ matrix: - FULL_DEPS=true - CLIPBOARD=xsel - JOB_NAME: "33_nslow" + - python: 3.4 + env: + - EXPERIMENTAL=true + - NOSE_ARGS="not slow and not di...
closes #6619
https://api.github.com/repos/pandas-dev/pandas/pulls/7009
2014-04-30T13:00:43Z
2014-04-30T15:48:21Z
2014-04-30T15:48:21Z
2014-07-16T09:03:59Z
BLD: fix failing vbench cases
diff --git a/vb_suite/eval.py b/vb_suite/eval.py index 36aa702b5602a..a350cdc54cd17 100644 --- a/vb_suite/eval.py +++ b/vb_suite/eval.py @@ -78,7 +78,6 @@ name='eval_frame_and_one_thread', start_date=datetime(2013, 7, 26)) -setup = common_setup eval_frame_and_python = \ Benchmark("...
There were about 30 vbench tests that failed due to multiple recent deprecations and copy-pasting. This PR fixes all but 8 of those that correspond to constructing frame with "exotic" time offsets (`WeekOfYear`, `LastWeekOfYear`, `FY5253` and `FY5253Quarter`) that apparently require some kwargs for construction. This...
https://api.github.com/repos/pandas-dev/pandas/pulls/7008
2014-04-30T09:34:09Z
2014-04-30T12:48:54Z
2014-04-30T12:48:54Z
2014-06-24T04:26:08Z
BUG: fixing tseries plot cursor display, resolves #5453
diff --git a/doc/source/release.rst b/doc/source/release.rst index 91bf6084e0faa..975d92cc215c4 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -450,8 +450,9 @@ Bug Fixes - Bug in enabling ``subplots=True`` in ``DataFrame.plot`` only has single column raises ``TypeError``, and ``Series.plot`` raise...
Fixes #5453 I am not sure how to test a mouse-over, and the original commit 922c6102eebb7347cea587fffc4795a3ca3e73b2 introducing this functionality did not have tests either, which is sadly probably how this got broken. @willfurnass do you happen to have any ideas for how to test this functionality, maybe from when yo...
https://api.github.com/repos/pandas-dev/pandas/pulls/7007
2014-04-30T04:27:11Z
2014-05-01T17:50:35Z
2014-05-01T17:50:35Z
2014-06-12T21:07:21Z
BUG: duplicate indexing with setitem with iloc (GH6766)
diff --git a/doc/source/release.rst b/doc/source/release.rst index b63a40d512b97..8a92b318e3d8f 100644 --- a/doc/source/release.rst +++ b/doc/source/release.rst @@ -450,6 +450,7 @@ Bug Fixes - Bug in enabling ``subplots=True`` in ``DataFrame.plot`` only has single column raises ``TypeError``, and ``Series.plot`` raise...
closes #6766
https://api.github.com/repos/pandas-dev/pandas/pulls/7006
2014-04-30T00:43:53Z
2014-04-30T01:05:17Z
2014-04-30T01:05:17Z
2014-07-16T09:03:54Z
DEPR: lookup, append
diff --git a/asv_bench/benchmarks/frame_methods.py b/asv_bench/benchmarks/frame_methods.py index a28e20a636ce2..5bb87b8bb2663 100644 --- a/asv_bench/benchmarks/frame_methods.py +++ b/asv_bench/benchmarks/frame_methods.py @@ -28,26 +28,6 @@ def time_frame_get_numeric_data(self): self.df._get_numeric_data() ...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49481
2022-11-02T20:20:15Z
2022-11-04T20:30:43Z
2022-11-04T20:30:43Z
2022-11-04T20:49:34Z
enable pylint: consider-using-sys-exit
diff --git a/pandas/tests/io/generate_legacy_storage_files.py b/pandas/tests/io/generate_legacy_storage_files.py index b66631a7d943e..ba1c1cbea26f9 100644 --- a/pandas/tests/io/generate_legacy_storage_files.py +++ b/pandas/tests/io/generate_legacy_storage_files.py @@ -327,7 +327,7 @@ def write_legacy_file(): sys.p...
Issue #48855. This PR enables pylint type "R" warning: `consider-using-sys-exit`. - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
https://api.github.com/repos/pandas-dev/pandas/pulls/49480
2022-11-02T19:42:06Z
2022-11-03T16:30:45Z
2022-11-03T16:30:45Z
2022-11-03T16:31:02Z
DEPR Series[td64].fillna(incompatible)
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index b7995dca0a825..7a4db76a3e046 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -408,6 +408,7 @@ Removal of prior version deprecations/changes - Changed behavior of setitem-like operations (``__setitem__...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49479
2022-11-02T18:47:40Z
2022-11-04T17:20:39Z
2022-11-04T17:20:39Z
2022-11-04T17:24:29Z
CLN use default_index more
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index c6b5816d12061..5d9732deeae4a 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -447,6 +447,7 @@ Performance improvements - Performance improvements to :func:`read_sas` (:issue:`47403`, :issue:`47405`, :...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49478
2022-11-02T16:13:52Z
2022-11-04T20:52:03Z
2022-11-04T20:52:03Z
2022-11-04T20:52:09Z
CI maybe fix arm test
diff --git a/pandas/core/arrays/datetimes.py b/pandas/core/arrays/datetimes.py index d2c2811759e7c..1265bb469d7eb 100644 --- a/pandas/core/arrays/datetimes.py +++ b/pandas/core/arrays/datetimes.py @@ -2231,8 +2231,10 @@ def maybe_convert_dtype(data, copy: bool, tz: tzinfo | None = None): if is_float_dtype(data.d...
- [ ] closes #49468 (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/c...
https://api.github.com/repos/pandas-dev/pandas/pulls/49476
2022-11-02T15:30:05Z
2022-11-02T21:00:15Z
2022-11-02T21:00:15Z
2022-11-02T21:00:24Z
TST: avoid chained assignment in tests outside of specific tests on chaining
diff --git a/pandas/tests/apply/test_frame_apply.py b/pandas/tests/apply/test_frame_apply.py index 510d4ab702fdd..83b9098f01452 100644 --- a/pandas/tests/apply/test_frame_apply.py +++ b/pandas/tests/apply/test_frame_apply.py @@ -347,7 +347,7 @@ def test_apply_yield_list(float_frame): def test_apply_reduce_Series(f...
Similarly as https://github.com/pandas-dev/pandas/pull/46980, now splitting off a part of the test changes in https://github.com/pandas-dev/pandas/pull/49467 that can be done separately We have specific tests about chained indexing (in `pandas/tests/indexing`, eg `test_chaining_and_caching.py`), so outside those spe...
https://api.github.com/repos/pandas-dev/pandas/pulls/49474
2022-11-02T14:06:57Z
2022-11-03T16:36:30Z
2022-11-03T16:36:30Z
2022-11-03T16:58:55Z
DEPR: enforce passing non boolean sort in concat
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 14b4df286d989..d0a07e58a925d 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -191,6 +191,7 @@ Removal of prior version deprecations/changes - Enforced deprecation disallowing unit-less "datetime64" dt...
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] Added [type annotati...
https://api.github.com/repos/pandas-dev/pandas/pulls/49472
2022-11-02T11:45:42Z
2022-11-02T17:23:31Z
2022-11-02T17:23:31Z
2022-11-03T01:37:57Z
Backport PR #49460 on branch 1.5.x ((🎁) add python 3.11 to sdist.yml)
diff --git a/.github/workflows/sdist.yml b/.github/workflows/sdist.yml index 14cede7bc1a39..7c20545105009 100644 --- a/.github/workflows/sdist.yml +++ b/.github/workflows/sdist.yml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10"] + pyth...
Backport PR #49460: (🎁) add python 3.11 to sdist.yml
https://api.github.com/repos/pandas-dev/pandas/pulls/49471
2022-11-02T10:41:59Z
2022-11-02T14:06:44Z
2022-11-02T14:06:44Z
2022-11-02T14:06:45Z
STYLE Suppressing two instances of pylint W0703 broad-except.
diff --git a/pandas/_testing/_io.py b/pandas/_testing/_io.py index 9ad0d13e7317e..bef2730ec630b 100644 --- a/pandas/_testing/_io.py +++ b/pandas/_testing/_io.py @@ -225,7 +225,7 @@ def wrapper(*args, **kwargs): ) try: return t(*args, **kwargs) - except Exception as err: + ...
- [x] partially addresses ability to re-enable pylint checks for `broad-except` from #48855 34 instances of W0703 were found, this should address 2. - Suppressed one warning where there is existing logic to parse returned errors - Suppressed another warning because downstream constructors could raise any erro...
https://api.github.com/repos/pandas-dev/pandas/pulls/49470
2022-11-02T10:33:09Z
2022-11-02T17:26:55Z
2022-11-02T17:26:55Z
2022-11-02T17:27:09Z
BUG / CoW: also return new object in case of null slice for both rows and columsn (.(i)loc[:, :])
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 57558491e0e57..6779d47792dbc 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -405,6 +405,10 @@ Other API changes - Files are now closed when encountering an exception in :func:`read_json` (:issue:`499...
Related to https://github.com/pandas-dev/pandas/pull/49450 (also ensuring we always return new objects from indexing operations, but for a different case). Currently, there is the specific corner case of `df.(i)loc[:, :]` that just returns `df` (this doesn't happen for `df.(i)loc[:]` or `df[:]`, where only a single...
https://api.github.com/repos/pandas-dev/pandas/pulls/49469
2022-11-02T09:50:24Z
2022-12-09T12:11:36Z
2022-12-09T12:11:36Z
2022-12-09T12:11:40Z
API / CoW: detect and raise error for chained assignment under Copy-on-Write
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index d3ad2710a0efa..6726139ed5fa4 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -73,7 +73,6 @@ jobs: env_file: actions-pypy-38.yaml pattern: "not slow and not network and not single_cpu"...
xref https://github.com/pandas-dev/pandas/issues/48998 One of the consequences of the copy / view rules with the Copy-on-Write proposal is that direct chained assignement (i.e. `df[..][..] = ..`, without using any intermediate variable like `sub = df[..]; sub[..] = ..`) consistently _never_ works (so not depending ...
https://api.github.com/repos/pandas-dev/pandas/pulls/49467
2022-11-02T09:10:10Z
2023-01-24T15:10:26Z
2023-01-24T15:10:26Z
2023-01-24T15:28:53Z
Fix memory leak with ujson module
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index b97d0f5232f1e..703d6ede42583 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -565,7 +565,7 @@ I/O - Improved error message in :func:`read_excel` by including the offending sheet name when an exception...
- [X] closes #49222 (Replace xxxx with the GitHub issue number) This is mostly vendored from ujson upstream https://github.com/ultrajson/ultrajson/blob/main/python/ujson.c Using a static PyObject the way we did before is strongly discouraged. This is more verbose but should be more correct, although interestin...
https://api.github.com/repos/pandas-dev/pandas/pulls/49466
2022-11-02T04:05:12Z
2022-11-07T20:53:05Z
2022-11-07T20:53:05Z
2022-12-24T20:43:59Z
STYLE: fix pylint no-else-continue warnings
diff --git a/doc/source/conf.py b/doc/source/conf.py index 39acc28451f54..af93a979789c1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -105,7 +105,7 @@ if fname == "index.rst" and os.path.abspath(dirname) == source_path: continue - elif pattern == "-ap...
Related to https://github.com/pandas-dev/pandas/issues/48855 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contr...
https://api.github.com/repos/pandas-dev/pandas/pulls/49464
2022-11-02T02:39:47Z
2022-11-02T18:06:34Z
2022-11-02T18:06:34Z
2022-11-02T18:13:28Z
DEPR: Disallow kwargs in ExcelWriter
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 72f08ec90f5e8..c9ad86f44b0c4 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -275,6 +275,7 @@ Removal of prior version deprecations/changes - Removed ``pandas.SparseSeries`` and ``pandas.SparseDataFra...
Introduced in https://github.com/pandas-dev/pandas/pull/40430
https://api.github.com/repos/pandas-dev/pandas/pulls/49463
2022-11-02T00:41:31Z
2022-11-02T18:07:10Z
2022-11-02T18:07:10Z
2022-11-02T18:07:13Z
DEPR: Enforce melt(value_name) behavior
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 72f08ec90f5e8..e645d7ec91f68 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -280,6 +280,7 @@ Removal of prior version deprecations/changes - Enforced disallowing ``dict`` or ``set`` objects in ``suff...
Introduced in https://github.com/pandas-dev/pandas/pull/35003
https://api.github.com/repos/pandas-dev/pandas/pulls/49462
2022-11-02T00:18:15Z
2022-11-04T16:54:54Z
2022-11-04T16:54:54Z
2022-11-04T16:54:57Z
DEPR: Remove check_less_precise in asserters
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 14b4df286d989..47b7de04d7f95 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -185,6 +185,7 @@ Removal of prior version deprecations/changes - Removed deprecated :meth:`.Styler.where` (:issue:`49397`) ...
Introduced in https://github.com/pandas-dev/pandas/pull/30562
https://api.github.com/repos/pandas-dev/pandas/pulls/49461
2022-11-02T00:02:58Z
2022-11-02T14:18:09Z
2022-11-02T14:18:09Z
2022-11-02T16:17:52Z
(🎁) add python 3.11 to sdist.yml
diff --git a/.github/workflows/sdist.yml b/.github/workflows/sdist.yml index 14cede7bc1a39..7c20545105009 100644 --- a/.github/workflows/sdist.yml +++ b/.github/workflows/sdist.yml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10"] + pyth...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49460
2022-11-01T23:32:50Z
2022-11-02T10:41:50Z
2022-11-02T10:41:50Z
2022-11-02T10:42:00Z
DEPR: inplace argument in set_axis
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 14b4df286d989..30142aa4a7f64 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -199,6 +199,7 @@ Removal of prior version deprecations/changes - Removed ``keep_tz`` argument in :meth:`DatetimeIndex.to_se...
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x] Added [type annotati...
https://api.github.com/repos/pandas-dev/pandas/pulls/49459
2022-11-01T23:29:50Z
2022-11-02T18:51:55Z
2022-11-02T18:51:55Z
2022-11-03T01:38:16Z
DEPR: Index(ndarray[object]) inferring numeric dtype
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 92cc7b04496bc..3db616e9b8cea 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -293,6 +293,7 @@ Removal of prior version deprecations/changes - Changed the behavior of :func:`to_datetime` with argument ...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49458
2022-11-01T23:12:59Z
2022-11-02T18:15:32Z
2022-11-02T18:15:32Z
2022-11-02T18:53:48Z
DEPR: Index methods, to_time, Categorical constructor
diff --git a/asv_bench/benchmarks/index_cached_properties.py b/asv_bench/benchmarks/index_cached_properties.py index 1a88bb7eef37a..349841f695416 100644 --- a/asv_bench/benchmarks/index_cached_properties.py +++ b/asv_bench/benchmarks/index_cached_properties.py @@ -70,6 +70,3 @@ def time_engine(self, index_type): ...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49457
2022-11-01T22:15:03Z
2022-11-03T16:14:59Z
2022-11-03T16:14:59Z
2022-11-03T16:30:26Z
API: avoid silent consolidation
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 20e99d007c798..8aeb577747354 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -348,6 +348,7 @@ Other API changes - Changed behavior of :class:`Index` constructor with sequence containing at least one `...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49456
2022-11-01T21:59:34Z
2022-11-22T21:22:44Z
2022-11-22T21:22:44Z
2022-11-22T21:28:27Z
DEPR: DatetimeIndex setops with mismatched tzs
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 6d1f2afab3c6d..c5fb8444680db 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -284,6 +284,7 @@ Removal of prior version deprecations/changes - Removed the deprecated method ``mad`` from pandas classes ...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49455
2022-11-01T21:41:21Z
2022-11-02T18:25:39Z
2022-11-02T18:25:39Z
2022-11-02T18:25:45Z
DEPR: __setitem__ on dt64tz with mixed timezones
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 5575ae8db2776..97556a06c0ecb 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -305,12 +305,14 @@ Removal of prior version deprecations/changes - Changed the behavior of :class:`Series` constructor, it ...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49454
2022-11-01T21:00:53Z
2022-11-03T16:49:54Z
2022-11-03T16:49:54Z
2022-11-03T17:03:54Z
Backport PR #49377 on branch 1.5.x (BUG: Fix passing Colormap instance to plot methods with mpl >= 3.6)
diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst index ff617e8bc5eef..e65be3bcecd76 100644 --- a/doc/source/whatsnew/v1.5.2.rst +++ b/doc/source/whatsnew/v1.5.2.rst @@ -14,6 +14,8 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`Serie...
Backport of #49377 to 1.5.x - [x] closes #49374 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_co...
https://api.github.com/repos/pandas-dev/pandas/pulls/49453
2022-11-01T20:59:07Z
2022-11-02T08:46:03Z
2022-11-02T08:46:03Z
2022-11-02T14:49:39Z
Backport PR #48996 on branch 1.5.x (BUG: CoW - correctly track references for chained operations)
diff --git a/doc/source/whatsnew/v1.5.2.rst b/doc/source/whatsnew/v1.5.2.rst index 4f6274b9084da..ff617e8bc5eef 100644 --- a/doc/source/whatsnew/v1.5.2.rst +++ b/doc/source/whatsnew/v1.5.2.rst @@ -21,7 +21,7 @@ Fixed regressions Bug fixes ~~~~~~~~~ -- +- Bug in the Copy-on-Write implementation losing track of views...
Backport PR #48996: BUG: CoW - correctly track references for chained operations
https://api.github.com/repos/pandas-dev/pandas/pulls/49451
2022-11-01T19:47:27Z
2022-11-01T23:37:10Z
2022-11-01T23:37:10Z
2022-11-01T23:37:10Z
API / CoW: always return new objects for column access (don't use item_cache)
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 45e4fd9f0aabb..86afebda353a8 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -83,34 +83,40 @@ be set to ``"pyarrow"`` to return pyarrow-backed, nullable :class:`ArrowDtype` ( df_pyarrow = pd.r...
Currently, we use an item cache for DataFrame columns -> Series. Whenever we access a certain column, we cache the resulting Series in `df._item_cache`, and the next time we access a column, we first check if that column already exists in the cache and if so return that directly. I suppose this was done for making re...
https://api.github.com/repos/pandas-dev/pandas/pulls/49450
2022-11-01T19:44:28Z
2023-01-13T12:56:05Z
2023-01-13T12:56:04Z
2023-01-13T13:17:06Z
enable pylint: literal-comparison
diff --git a/pyproject.toml b/pyproject.toml index e1a28bec4c14b..e936ee6b55b1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -113,12 +113,9 @@ disable = [ "cyclic-import", "duplicate-code", "inconsistent-return-statements", - "invalid-sequence-index", - "literal-comparison", "no-else-continue", ...
Issue #48855. This PR enables pylint type "R" warning: `literal-comparison`. - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
https://api.github.com/repos/pandas-dev/pandas/pulls/49447
2022-11-01T16:07:14Z
2022-11-02T09:04:50Z
2022-11-02T09:04:50Z
2022-11-02T09:04:50Z
API: Series([pydate, pydatetime])
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 0ab75355291f6..96c15d4626142 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -142,6 +142,7 @@ Other API changes - The ``other`` argument in :meth:`DataFrame.mask` and :meth:`Series.mask` now defaults ...
- [x] closes #49341 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/49446
2022-11-01T16:04:47Z
2022-11-01T23:20:35Z
2022-11-01T23:20:35Z
2022-11-01T23:24:18Z
STYLE: enable pylint warnings for `cell-var-from-loop`
diff --git a/pandas/core/strings/object_array.py b/pandas/core/strings/object_array.py index d45cfa8de6f3e..21e7ede3ed386 100644 --- a/pandas/core/strings/object_array.py +++ b/pandas/core/strings/object_array.py @@ -1,6 +1,7 @@ from __future__ import annotations from collections.abc import Callable # noqa: PDF001...
- [x] addresses pylint issues with `cell-var-from-loop` as part of general pylint efforts in #48855 - Found one instance of the error that was an easy lift of function outside a loop - Refactored two other locations for error based on tips from @mroeschke TIL `functools.partial` is a thing.
https://api.github.com/repos/pandas-dev/pandas/pulls/49445
2022-11-01T15:36:29Z
2022-11-03T16:32:05Z
2022-11-03T16:32:05Z
2022-11-03T16:32:05Z
Backport PR #49437 on branch 1.5.x (CI: maybe fix docs build)
diff --git a/doc/source/whatsnew/v0.13.0.rst b/doc/source/whatsnew/v0.13.0.rst index 8265ad58f7ea3..44223bc694360 100644 --- a/doc/source/whatsnew/v0.13.0.rst +++ b/doc/source/whatsnew/v0.13.0.rst @@ -733,7 +733,7 @@ Enhancements .. _scipy: http://www.scipy.org .. _documentation: http://docs.scipy.org/doc/scipy/ref...
Backport PR #49437: CI: maybe fix docs build
https://api.github.com/repos/pandas-dev/pandas/pulls/49444
2022-11-01T14:06:57Z
2022-11-01T15:31:22Z
2022-11-01T15:31:22Z
2022-11-01T15:31:22Z
BUG: MultiIndex.get_indexer not matching nan values
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index df190a4df393c..2ddc8f478f41d 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -534,6 +534,7 @@ Missing MultiIndex ^^^^^^^^^^ +- Bug in :meth:`MultiIndex.get_indexer` not matching ``NaN`` values (:is...
- [x] closes #37222 (Replace xxxx with the GitHub issue number) - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/co...
https://api.github.com/repos/pandas-dev/pandas/pulls/49442
2022-11-01T13:36:59Z
2022-11-07T18:09:44Z
2022-11-07T18:09:44Z
2022-11-10T20:42:55Z
Backport PR #49320 on branch 1.5.x ((📚) update docs to mention 3.11 support)
diff --git a/doc/source/getting_started/install.rst b/doc/source/getting_started/install.rst index 00251854e3ffa..31eaa2367b683 100644 --- a/doc/source/getting_started/install.rst +++ b/doc/source/getting_started/install.rst @@ -20,7 +20,7 @@ Instructions for installing from source, Python version support -----------...
#49320
https://api.github.com/repos/pandas-dev/pandas/pulls/49440
2022-11-01T12:59:54Z
2022-11-01T15:11:38Z
2022-11-01T15:11:38Z
2022-11-01T23:33:42Z
BUG: pivot_table with margins=T raises when results in empty df
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 6d1f2afab3c6d..6c15c056fc7ce 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -441,7 +441,7 @@ Reshaping - Bug in :meth:`DataFrame.unstack` and :meth:`Series.unstack` unstacking wrong level of :class:`...
- [x] closes #49240 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). - [x...
https://api.github.com/repos/pandas-dev/pandas/pulls/49438
2022-11-01T12:49:44Z
2022-11-02T18:43:52Z
2022-11-02T18:43:52Z
2022-11-02T18:46:27Z
CI: maybe fix docs build
diff --git a/doc/source/whatsnew/v0.13.0.rst b/doc/source/whatsnew/v0.13.0.rst index 8265ad58f7ea3..44223bc694360 100644 --- a/doc/source/whatsnew/v0.13.0.rst +++ b/doc/source/whatsnew/v0.13.0.rst @@ -733,7 +733,7 @@ Enhancements .. _scipy: http://www.scipy.org .. _documentation: http://docs.scipy.org/doc/scipy/ref...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49437
2022-11-01T12:45:14Z
2022-11-01T14:06:25Z
2022-11-01T14:06:25Z
2022-11-01T14:06:34Z
DEPR: Remove df.info(null_counts=)
diff --git a/doc/source/user_guide/options.rst b/doc/source/user_guide/options.rst index c7f5d3ddf66d3..ce805f98ca528 100644 --- a/doc/source/user_guide/options.rst +++ b/doc/source/user_guide/options.rst @@ -249,7 +249,7 @@ displayed when calling :meth:`~pandas.DataFrame.info`. ``display.max_info_rows``: :meth:`~pand...
Introduced in https://github.com/pandas-dev/pandas/pull/37999
https://api.github.com/repos/pandas-dev/pandas/pulls/49430
2022-10-31T22:42:37Z
2022-11-01T14:49:24Z
2022-11-01T14:49:24Z
2022-11-01T16:46:00Z
DEPR: Enforce disallowed merging scenarios
diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 04e5154ca1a0b..d2bcf8d19651e 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -273,6 +273,9 @@ Removal of prior version deprecations/changes - Enforced disallowing a string column label into ``times`` ...
Introduced in https://github.com/pandas-dev/pandas/pull/34810, https://github.com/pandas-dev/pandas/pull/40993, https://github.com/pandas-dev/pandas/pull/40991
https://api.github.com/repos/pandas-dev/pandas/pulls/49429
2022-10-31T22:16:36Z
2022-11-01T22:39:38Z
2022-11-01T22:39:38Z
2022-11-01T22:39:41Z
UPGRADE: Autoupdate pre-commit config
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8ff7526b87521..1893f57fc09c1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,16 +18,16 @@ repos: pass_filenames: true require_serial: false - repo: https://github.com/python/black - rev: 22.8.0 + re...
closes #49406
https://api.github.com/repos/pandas-dev/pandas/pulls/49428
2022-10-31T21:50:42Z
2022-11-04T10:17:35Z
2022-11-04T10:17:35Z
2022-11-04T10:17:36Z
enable pylint wildcard-import
diff --git a/pyproject.toml b/pyproject.toml index ddecebaec7c72..4c86fa4b0589a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -185,8 +185,7 @@ disable = [ "unused-wildcard-import", "using-constant-test", "useless-else-on-loop", - "useless-parent-delegation", - "wildcard-import" + "useless-parent-deleg...
Issue #48855. This PR enables pylint type "W" warning: `wildcard-import`. - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
https://api.github.com/repos/pandas-dev/pandas/pulls/49427
2022-10-31T20:21:49Z
2022-11-01T12:09:13Z
2022-11-01T12:09:13Z
2022-11-01T12:09:13Z
CLN: assorted; silence test warnings
diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 37b87f92971cc..bbb17d8a2bbcf 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -1058,12 +1058,6 @@ cdef class Tick(SingleConstructorOffset): if util.is_timedelta64_object(other) or PyDelta...
- [ ] closes #xxxx (Replace xxxx with the GitHub issue number) - [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/con...
https://api.github.com/repos/pandas-dev/pandas/pulls/49426
2022-10-31T19:59:15Z
2022-11-02T16:36:50Z
2022-11-02T16:36:50Z
2022-11-02T18:56:22Z
enable pylint unused-wildcard-import
diff --git a/pyproject.toml b/pyproject.toml index ddecebaec7c72..d04ccaa7b9dad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -182,7 +182,6 @@ disable = [ "unused-argument", "unused-import", "unused-variable", - "unused-wildcard-import", "using-constant-test", "useless-else-on-loop", "useless-p...
Issue #48855. This PR enables pylint type "W" warning: `unused-wildcard-import`. - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
https://api.github.com/repos/pandas-dev/pandas/pulls/49425
2022-10-31T19:58:34Z
2022-11-01T12:10:17Z
2022-11-01T12:10:17Z
2022-11-01T12:10:17Z
TST: Remove unnecessary pytest fixture scopes
diff --git a/pandas/tests/arithmetic/conftest.py b/pandas/tests/arithmetic/conftest.py index e847f31cd3f9c..b734344d25174 100644 --- a/pandas/tests/arithmetic/conftest.py +++ b/pandas/tests/arithmetic/conftest.py @@ -12,9 +12,7 @@ from pandas.core.computation import expressions as expr -@pytest.fixture( - autou...
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). I've noticed teardown of...
https://api.github.com/repos/pandas-dev/pandas/pulls/49424
2022-10-31T19:33:43Z
2022-11-01T14:48:07Z
2022-11-01T14:48:07Z
2022-11-01T16:47:12Z
CLN: test_nanops.py
diff --git a/pandas/tests/test_nanops.py b/pandas/tests/test_nanops.py index 0e64181bd46a7..ae8791a774ed5 100644 --- a/pandas/tests/test_nanops.py +++ b/pandas/tests/test_nanops.py @@ -29,6 +29,175 @@ def skipna(request): return request.param +@pytest.fixture +def disable_bottleneck(monkeypatch): + with mon...
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit). Avoid `setup_method` bei...
https://api.github.com/repos/pandas-dev/pandas/pulls/49423
2022-10-31T19:30:32Z
2022-11-10T19:39:19Z
2022-11-10T19:39:19Z
2022-11-10T20:30:54Z