chunk_id
large_stringlengths
36
36
doc_type
large_stringclasses
2 values
category
large_stringclasses
17 values
document
large_stringclasses
50 values
version_raw
large_stringclasses
590 values
chunk_index
int64
0
262
text
large_stringlengths
11
5.69k
file_path
large_stringclasses
882 values
a3332626-33b4-5e66-997a-7958d981b309
changelog
pandas
pandas_whatsnew
2.0.0
237
### Groupby/resample/rolling[#](#groupby-resample-rolling "Link to this heading") * Bug in `ExponentialMovingWindow` with `online` not raising a `NotImplementedError` for unsupported operations ([GH 48834](https://github.com/pandas-dev/pandas/issues/48834)) * Bug in [`DataFrameGroupBy.sample()`](../reference/api/panda...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
7b70c408-106e-5ea9-bee0-ee36e4a2b41a
changelog
pandas
pandas_whatsnew
2.0.0
238
* Bug in [`DataFrameGroupBy.resample()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.resample.html#pandas.core.groupby.DataFrameGroupBy.resample "pandas.core.groupby.DataFrameGroupBy.resample") produces inconsistent results when passing empty DataFrame ([GH 47705](https://github.com/pandas-dev/pandas/issues/4...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
d8168ee9-bfa1-575d-a2c6-e2a8c9b02ea8
changelog
pandas
pandas_whatsnew
2.0.0
239
* Bug in [`DataFrameGroupBy.apply()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.apply.html#pandas.core.groupby.DataFrameGroupBy.apply "pandas.core.groupby.DataFrameGroupBy.apply") and `SeriesGroupBy.apply` with `as_index=False` would not attempt the computation without using the grouping keys when using the...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
c2ea72f9-2244-5804-b32b-2559d77590ce
changelog
pandas
pandas_whatsnew
2.0.0
240
* Bug in `DataFrameGroupBy` and `SeriesGroupBy` with `dropna=False` would drop NA values when the grouper was categorical ([GH 36327](https://github.com/pandas-dev/pandas/issues/36327)) * Bug in [`SeriesGroupBy.nunique()`](../reference/api/pandas.core.groupby.SeriesGroupBy.nunique.html#pandas.core.groupby.SeriesGroupBy...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
ff453e2d-693f-55f4-8158-70e30eb5800f
changelog
pandas
pandas_whatsnew
2.0.0
241
* Bug in [`DataFrame.groupby()`](../reference/api/pandas.DataFrame.groupby.html#pandas.DataFrame.groupby "pandas.DataFrame.groupby") would not include a [`Grouper`](../reference/api/pandas.Grouper.html#pandas.Grouper "pandas.Grouper") specified by `key` in the result when `as_index=False` ([GH 50413](https://github.com...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
b3f00803-e113-5020-baaf-3eb4bbed1b2f
changelog
pandas
pandas_whatsnew
2.0.0
242
* Bug in [`Resampler.size()`](../reference/api/pandas.core.resample.Resampler.size.html#pandas.core.resample.Resampler.size "pandas.core.resample.Resampler.size") caused a wide [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") to be returned instead of a [`Series`](../reference/a...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
61ca6aca-a44f-5ddb-a704-a6414ecd9064
changelog
pandas
pandas_whatsnew
2.0.0
243
* Bug in [`DataFrameGroupBy.transform()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.transform.html#pandas.core.groupby.DataFrameGroupBy.transform "pandas.core.groupby.DataFrameGroupBy.transform") and [`SeriesGroupBy.transform()`](../reference/api/pandas.core.groupby.SeriesGroupBy.transform.html#pandas.core....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
24ecb3de-52a4-5a63-ab72-4fb4b9624cbb
changelog
pandas
pandas_whatsnew
2.0.0
244
* Bug in [`SeriesGroupBy.value_counts()`](../reference/api/pandas.core.groupby.SeriesGroupBy.value_counts.html#pandas.core.groupby.SeriesGroupBy.value_counts "pandas.core.groupby.SeriesGroupBy.value_counts") did not respect `sort=False` ([GH 50482](https://github.com/pandas-dev/pandas/issues/50482)) * Bug in [`DataFram...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
e0610dfb-c8ad-5818-96b5-08bd84bf74e0
changelog
pandas
pandas_whatsnew
2.0.0
245
* Bug in [`DataFrameGroupBy.transform()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.transform.html#pandas.core.groupby.DataFrameGroupBy.transform "pandas.core.groupby.DataFrameGroupBy.transform") and [`SeriesGroupBy.transform()`](../reference/api/pandas.core.groupby.SeriesGroupBy.transform.html#pandas.core....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
258fe49a-fd75-5d3c-acea-aff22f13f512
changelog
pandas
pandas_whatsnew
2.0.0
246
* Bug in [`DataFrameGroupBy.agg()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.agg.html#pandas.core.groupby.DataFrameGroupBy.agg "pandas.core.groupby.DataFrameGroupBy.agg") with `engine="numba"` failing to respect `as_index=False` ([GH 51228](https://github.com/pandas-dev/pandas/issues/51228)) * Bug in [`Dat...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
19f4b130-4916-5c50-87a8-fea26398b467
changelog
pandas
pandas_whatsnew
2.0.0
247
* Bug in [`DataFrameGroupBy.ohlc()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.ohlc.html#pandas.core.groupby.DataFrameGroupBy.ohlc "pandas.core.groupby.DataFrameGroupBy.ohlc") ignoring `as_index=False` ([GH 51413](https://github.com/pandas-dev/pandas/issues/51413)) * Bug in `DataFrameGroupBy.agg()` after su...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
7cbb7321-05c8-5c80-ba1b-42298937b3f6
changelog
pandas
pandas_whatsnew
2.0.0
248
* Bug in [`DataFrame.unstack()`](../reference/api/pandas.DataFrame.unstack.html#pandas.DataFrame.unstack "pandas.DataFrame.unstack") and [`Series.unstack()`](../reference/api/pandas.Series.unstack.html#pandas.Series.unstack "pandas.Series.unstack") unstacking wrong level of [`MultiIndex`](../reference/api/pandas.MultiI...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
c2dbae6c-f38b-58dd-ba24-1a1e9c744ac5
changelog
pandas
pandas_whatsnew
2.0.0
249
* Bug in [`DataFrame.join()`](../reference/api/pandas.DataFrame.join.html#pandas.DataFrame.join "pandas.DataFrame.join") when `left_on` or `right_on` is or includes a [`CategoricalIndex`](../reference/api/pandas.CategoricalIndex.html#pandas.CategoricalIndex "pandas.CategoricalIndex") incorrectly raising `AttributeError...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
efbf1140-5752-5b77-abb7-b064ffeae840
changelog
pandas
pandas_whatsnew
2.0.0
250
* Bug in [`DataFrame.explode()`](../reference/api/pandas.DataFrame.explode.html#pandas.DataFrame.explode "pandas.DataFrame.explode") raising `ValueError` on multiple columns with `NaN` values or empty lists ([GH 46084](https://github.com/pandas-dev/pandas/issues/46084)) * Bug in [`DataFrame.transpose()`](../reference/a...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
002fcc89-6bce-57b1-840c-1a402f5961d7
changelog
pandas
pandas_whatsnew
2.0.0
251
### Sparse[#](#sparse "Link to this heading") * Bug in [`Series.astype()`](../reference/api/pandas.Series.astype.html#pandas.Series.astype "pandas.Series.astype") when converting a `SparseDtype` with `datetime64[ns]` subtype to `int64` dtype raising, inconsistent with the non-sparse behavior ([GH 49631](https://github...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
b162b5aa-b19b-5ec2-80b1-efd3d94f7d17
changelog
pandas
pandas_whatsnew
2.0.0
252
### ExtensionArray[#](#extensionarray "Link to this heading") * Bug in [`Series.mean()`](../reference/api/pandas.Series.mean.html#pandas.Series.mean "pandas.Series.mean") overflowing unnecessarily with nullable integers ([GH 48378](https://github.com/pandas-dev/pandas/issues/48378)) * Bug in `Series.tolist()` for null...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
c42c6ad6-98c3-5acb-b72c-d3ed3f38ead1
changelog
pandas
pandas_whatsnew
2.0.0
253
* Bug in `array.PandasArray.to_numpy()` raising with `NA` value when `na_value` is specified ([GH 40638](https://github.com/pandas-dev/pandas/issues/40638)) * Bug in [`api.types.is_numeric_dtype()`](../reference/api/pandas.api.types.is_numeric_dtype.html#pandas.api.types.is_numeric_dtype "pandas.api.types.is_numeric_dt...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
7e1eef8c-3f55-5651-945d-26b630bd3c98
changelog
pandas
pandas_whatsnew
2.0.0
254
* Bug in [`api.types.is_integer_dtype()`](../reference/api/pandas.api.types.is_integer_dtype.html#pandas.api.types.is_integer_dtype "pandas.api.types.is_integer_dtype"), [`api.types.is_unsigned_integer_dtype()`](../reference/api/pandas.api.types.is_unsigned_integer_dtype.html#pandas.api.types.is_unsigned_integer_dtype ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
9264a518-2561-5cb3-adf4-3f63bebe4244
changelog
pandas
pandas_whatsnew
2.0.0
255
* Bug in [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") constructor unnecessarily overflowing for nullable unsigned integer dtypes ([GH 38798](https://github.com/pandas-dev/pandas/issues/38798), [GH 25880](https://github.com/pandas-dev/pandas/issues/25880)) * Bug in setting non-string val...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
9787c544-f51f-5de7-8c61-f28b09ec0e53
changelog
pandas
pandas_whatsnew
2.0.0
256
* Bug in [`ArrowExtensionArray`](../reference/api/pandas.arrays.ArrowExtensionArray.html#pandas.arrays.ArrowExtensionArray "pandas.arrays.ArrowExtensionArray") logical operations `&` and `|` raising `KeyError` ([GH 51688](https://github.com/pandas-dev/pandas/issues/51688)) ### Styler[#](#styler "Link to this heading")...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
0d80b7a0-04a2-5bd2-85f7-d08bd7e36ee9
changelog
pandas
pandas_whatsnew
2.0.0
257
* Fixed metadata propagation in [`DataFrame.corr()`](../reference/api/pandas.DataFrame.corr.html#pandas.DataFrame.corr "pandas.DataFrame.corr") and [`DataFrame.cov()`](../reference/api/pandas.DataFrame.cov.html#pandas.DataFrame.cov "pandas.DataFrame.cov") ([GH 28283](https://github.com/pandas-dev/pandas/issues/28283)) ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
445f5168-dca1-5516-9a1e-3080583cb826
changelog
pandas
pandas_whatsnew
2.0.0
258
* Bug in [`array()`](../reference/api/pandas.array.html#pandas.array "pandas.array") failing to raise on [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") inputs ([GH 51167](https://github.com/pandas-dev/pandas/issues/51167)) ## Contributors[#](#contributors "Link to this headin...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
e13e7ecf-c534-5cae-b265-3b2a4dba7aee
changelog
pandas
pandas_whatsnew
2.0.0
259
* Bill + * Bishwas + * CarlosGDCJ + * Carlotta Fabian + * Chris Roth + * Chuck Cadman + * Corralien + * DG + * Dan Hendry + * Daniel Isaac * David Kleindienst + * David Poznik + * David Rudel + * DavidKleindienst + * Dea María Léon + * Deepak Sirohiwal + * Dennis Chukwunta * Douglas Lohmann + * Dries Schaumont * Dustin...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
34f89c96-261d-536b-85a2-8a465998ef99
changelog
pandas
pandas_whatsnew
2.0.0
260
* João Meirelles + * Julia Aoun + * Justus Magin + * Kang Su Min + * Kevin Sheppard * Khor Chean Wei * Kian Eliasi * Kostya Farber + * KotlinIsland + * Lakmal Pinnaduwage + * Lakshya A Agrawal + * Lawrence Mitchell + * Levi Ob + * Loic Diridollou * Lorenzo Vainigli + * Luca Pizzini + * Lucas Damo + * Luke Manley * Madh...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
d561306a-3d0b-534c-ad27-c6ce746dbc14
changelog
pandas
pandas_whatsnew
2.0.0
261
* Richard Shadrach * Robsdedude + * Roger * Roger Thomas * RogerThomas + * SFuller4 + * Salahuddin + * Sam Rao * Sean Patrick Malloy + * Sebastian Roll + * Shantanu * Shashwat + * Shashwat Agrawal + * Shiko Wamwea + * Shoham Debnath * Shubhankar Lohani + * Siddhartha Gandhi + * Simon Hawkins * Soumik Dutta + * Sowrov T...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
2e55424b-e71a-595a-b5a7-8dd7b28938be
changelog
pandas
pandas_whatsnew
2.0.0
262
* codamuse + * dataxerik * davidleon123 + * dependabot[bot] + * fdrocha + * github-actions[bot] * himanshu\_wagh + * iofall + * jakirkham + * jbrockmendel * jnclt + * joelchen + * joelsonoda + * joshuabello2550 * joycewamwea + * kathleenhang + * krasch + * ltoniazzi + * luke396 + * milosz-martynow + * minat-hub + * mli...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
91df7df6-0f48-56f1-9cc3-0606ece4d988
changelog
pandas
pandas_whatsnew
2.0.1
0
# What's new in pandas 2.0.1 Source: https://pandas.pydata.org/docs/whatsnew/v2.0.1.html # What’s new in 2.0.1 (April 24, 2023)[#](#what-s-new-in-2-0-1-april-24-2023 "Link to this heading") These are the changes in pandas 2.0.1. See [Release notes](index.html#release) for a full changelog including other versions of...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.1.md
d17cfff3-77ae-5697-86c2-870c62cb4b58
changelog
pandas
pandas_whatsnew
2.0.1
1
* Fixed regression in [`DataFrame.pivot()`](../reference/api/pandas.DataFrame.pivot.html#pandas.DataFrame.pivot "pandas.DataFrame.pivot") changing [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") name of input object ([GH 52629](https://github.com/pandas-dev/pandas/issues/52629)) * Fixed regres...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.1.md
c43af4b0-7868-563e-aacb-0dddcda23560
changelog
pandas
pandas_whatsnew
2.0.1
2
* Fixed regression in `MultiIndex.isin()` raising `TypeError` for `Generator` ([GH 52568](https://github.com/pandas-dev/pandas/issues/52568)) * Fixed regression in [`Series.describe()`](../reference/api/pandas.Series.describe.html#pandas.Series.describe "pandas.Series.describe") showing `RuntimeWarning` for extension d...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.1.md
3c812926-793f-5107-a772-092a129083f5
changelog
pandas
pandas_whatsnew
2.0.1
3
## Bug fixes[#](#bug-fixes "Link to this heading") * Bug in [`Series.dt.days`](../reference/api/pandas.Series.dt.days.html#pandas.Series.dt.days "pandas.Series.dt.days") that would overflow `int32` number of days ([GH 52391](https://github.com/pandas-dev/pandas/issues/52391)) * Bug in [`arrays.DatetimeArray`](../refer...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.1.md
ecd3e062-206e-5f0b-9ea5-3050a140e0b8
changelog
pandas
pandas_whatsnew
2.0.1
4
* Bug in [`Series.dt.round()`](../reference/api/pandas.Series.dt.round.html#pandas.Series.dt.round "pandas.Series.dt.round") when passing a `freq` of equal or higher resolution compared to the [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") would raise a `ZeroDivisionError` ([GH 52761](htt...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.1.md
e81f1947-a8ad-5b05-a931-15eea2cc59de
changelog
pandas
pandas_whatsnew
2.0.1
5
* Bug in [`api.interchange.from_dataframe()`](../reference/api/pandas.api.interchange.from_dataframe.html#pandas.api.interchange.from_dataframe "pandas.api.interchange.from_dataframe") was unnecessarily raising on large string dtypes ([GH 52795](https://github.com/pandas-dev/pandas/issues/52795)) * Bug in [`pandas.test...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.1.md
aa68039d-9de1-58a5-ab50-9d1ea547e435
changelog
pandas
pandas_whatsnew
2.0.1
6
* Bug in [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") and [`to_timedelta()`](../reference/api/pandas.to_timedelta.html#pandas.to_timedelta "pandas.to_timedelta") when trying to convert numeric data with a [`ArrowDtype`](../reference/api/pandas.ArrowDtype.html#panda...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.1.md
7f70fe71-2506-5ae6-9a5a-a892253f9556
changelog
pandas
pandas_whatsnew
2.0.1
7
* Bug in [`DataFrame.describe()`](../reference/api/pandas.DataFrame.describe.html#pandas.DataFrame.describe "pandas.DataFrame.describe") not respecting `ArrowDtype` in `include` and `exclude` ([GH 52570](https://github.com/pandas-dev/pandas/issues/52570)) * Bug in [`DataFrame.max()`](../reference/api/pandas.DataFrame.m...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.1.md
409a930e-6c03-5668-9e07-b0beb8a2ba0b
changelog
pandas
pandas_whatsnew
2.0.1
8
* Bug in [`Series.dt.tz_localize()`](../reference/api/pandas.Series.dt.tz_localize.html#pandas.Series.dt.tz_localize "pandas.Series.dt.tz_localize") incorrectly localizing timestamps with [`ArrowDtype`](../reference/api/pandas.ArrowDtype.html#pandas.ArrowDtype "pandas.ArrowDtype") ([GH 52677](https://github.com/pandas-...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.1.md
67cb76d3-fa02-50b2-beea-ebfa999e946b
changelog
pandas
pandas_whatsnew
2.0.1
9
* Fixed segfault in [`Series.to_numpy()`](../reference/api/pandas.Series.to_numpy.html#pandas.Series.to_numpy "pandas.Series.to_numpy") with `null[pyarrow]` dtype ([GH 52443](https://github.com/pandas-dev/pandas/issues/52443)) ## Other[#](#other "Link to this heading") * [`DataFrame`](../reference/api/pandas.DataFram...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.1.md
450f7daa-ae58-5655-b4dd-c290832a66f8
changelog
pandas
pandas_whatsnew
2.0.1
10
* [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") created from empty dicts had [`index`](../reference/api/pandas.Series.index.html#pandas.Series.index "pandas.Series.index") of dtype `object`. It is now a [`RangeIndex`](../reference/api/pandas.RangeIndex.html#pandas.RangeIndex "pandas.Rang...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.1.md
4e9c6188-76d8-5947-80b2-2e962b7e3e0c
changelog
pandas
pandas_whatsnew
2.0.1
11
* Implemented most `str` accessor methods for [`ArrowDtype`](../reference/api/pandas.ArrowDtype.html#pandas.ArrowDtype "pandas.ArrowDtype") with `pyarrow.string` ([GH 52401](https://github.com/pandas-dev/pandas/issues/52401)) * Supplying a non-integer hashable key that tests `False` in [`api.types.is_scalar()`](../refe...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.1.md
5b51d6de-9e3c-580d-aff7-aab6cb59b90a
changelog
pandas
pandas_whatsnew
2.0.1
12
* MarcoGorelli * Matthew Roeschke * MeeseeksMachine * Natalia Mokeeva * Nirav + * Pandas Development Team * Patrick Hoefler * Richard Shadrach * Stefanie Molin * Terji Petersen * Thomas + * Thomas Li * yonashub
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.1.md
750379b4-8bb9-54bb-b43f-605d5839c950
changelog
pandas
pandas_whatsnew
2.0.2
0
# What's new in pandas 2.0.2 Source: https://pandas.pydata.org/docs/whatsnew/v2.0.2.html # What’s new in 2.0.2 (May 29, 2023)[#](#what-s-new-in-2-0-2-may-29-2023 "Link to this heading") These are the changes in pandas 2.0.2. See [Release notes](index.html#release) for a full changelog including other versions of pan...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.2.md
6e738ce4-112d-5fb7-bd83-fc40325e4cf5
changelog
pandas
pandas_whatsnew
2.0.2
1
* Fixed regression in [`DataFrame.loc()`](../reference/api/pandas.DataFrame.loc.html#pandas.DataFrame.loc "pandas.DataFrame.loc") losing [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") name when enlarging object ([GH 53053](https://github.com/pandas-dev/pandas/issues/53053)...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.2.md
6871cd68-5539-5477-ae60-2d8595d0273a
changelog
pandas
pandas_whatsnew
2.0.2
2
## Bug fixes[#](#bug-fixes "Link to this heading") * Bug in [`arrays.ArrowExtensionArray`](../reference/api/pandas.arrays.ArrowExtensionArray.html#pandas.arrays.ArrowExtensionArray "pandas.arrays.ArrowExtensionArray") incorrectly assigning `dict` instead of `list` for `.type` with `pyarrow.map_` and raising a `NotImpl...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.2.md
caffefa2-cb1e-5e92-bc6d-461cf7ce2f82
changelog
pandas
pandas_whatsnew
2.0.2
3
* Bug in [`api.interchange.from_dataframe()`](../reference/api/pandas.api.interchange.from_dataframe.html#pandas.api.interchange.from_dataframe "pandas.api.interchange.from_dataframe") was returning [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame")’s of incorrect sizes when calle...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.2.md
60d04842-fe6e-54bd-bde1-c4c656964b2f
changelog
pandas
pandas_whatsnew
2.0.2
4
* Bug in [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") raising `OverflowError` for `engine="pyarrow"` and `parse_dates` set ([GH 53295](https://github.com/pandas-dev/pandas/issues/53295)) * Bug in [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pa...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.2.md
fcf5b1c6-9468-5b8a-9a09-a611d36a7f18
changelog
pandas
pandas_whatsnew
2.0.2
5
* Bug in [`DataFrame.convert_dtypes()`](../reference/api/pandas.DataFrame.convert_dtypes.html#pandas.DataFrame.convert_dtypes "pandas.DataFrame.convert_dtypes") ignores `convert_*` keywords when set to False `dtype_backend="pyarrow"` ([GH 52872](https://github.com/pandas-dev/pandas/issues/52872)) * Bug in [`DataFrame.c...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.2.md
77db8e66-c4f8-510d-9417-586fa31d1cb7
changelog
pandas
pandas_whatsnew
2.0.2
6
* Bug in [`Series.describe()`](../reference/api/pandas.Series.describe.html#pandas.Series.describe "pandas.Series.describe") treating pyarrow-backed timestamps and timedeltas as categorical data ([GH 53001](https://github.com/pandas-dev/pandas/issues/53001)) * Bug in [`Series.rename()`](../reference/api/pandas.Series.r...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.2.md
5887053a-b693-58b0-8953-a139eea970ed
changelog
pandas
pandas_whatsnew
2.0.2
7
* Raised a better error message when calling [`Series.dt.to_pydatetime()`](../reference/api/pandas.Series.dt.to_pydatetime.html#pandas.Series.dt.to_pydatetime "pandas.Series.dt.to_pydatetime") with [`ArrowDtype`](../reference/api/pandas.ArrowDtype.html#pandas.ArrowDtype "pandas.ArrowDtype") with `pyarrow.date32` or `py...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.2.md
62d7c3a4-8a15-5312-84d4-c1c08b9618c8
changelog
pandas
pandas_whatsnew
2.0.3
0
# What's new in pandas 2.0.3 Source: https://pandas.pydata.org/docs/whatsnew/v2.0.3.html # What’s new in 2.0.3 (June 28, 2023)[#](#what-s-new-in-2-0-3-june-28-2023 "Link to this heading") These are the changes in pandas 2.0.3. See [Release notes](index.html#release) for a full changelog including other versions of p...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.3.md
28c6704e-3dd5-5e02-a9ac-f6c5b1575e79
changelog
pandas
pandas_whatsnew
2.0.3
1
## Bug fixes[#](#bug-fixes "Link to this heading") * Bug in `DataFrame.convert_dtype()` and `Series.convert_dtype()` when trying to convert [`ArrowDtype`](../reference/api/pandas.ArrowDtype.html#pandas.ArrowDtype "pandas.ArrowDtype") with `dtype_backend="nullable_numpy"` ([GH 53648](https://github.com/pandas-dev/panda...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.3.md
6ad9568e-3a12-52db-acf5-e6088c6368e8
changelog
pandas
pandas_whatsnew
2.0.3
2
* Bug in [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") when defining `dtype` with `bool[pyarrow]` for the `"c"` and `"python"` engines ([GH 53390](https://github.com/pandas-dev/pandas/issues/53390)) * Bug in [`Series.str.split()`](../reference/api/pandas.Series.str.split.html#p...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.3.md
104f53fd-bca9-5e14-a3ab-03b89b09ea8b
changelog
pandas
pandas_whatsnew
2.0.3
3
* Bug in indexing methods (e.g. `DataFrame.__getitem__()`) where taking the entire [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame")/[`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") would raise an `OverflowError` when Copy on Write was enabled and the...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.3.md
a2bb5a53-0cda-5520-957e-3da066b468ba
changelog
pandas
pandas_whatsnew
2.0.3
4
* Bug when indexing a [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") or [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") with an [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") with a timestamp [`ArrowDtype`](../reference/...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.3.md
ce769443-7f54-539c-b6b2-f11607c94bab
changelog
pandas
pandas_whatsnew
2.1.0
0
# What's new in pandas 2.1.0 Source: https://pandas.pydata.org/docs/whatsnew/v2.1.0.html # What’s new in 2.1.0 (Aug 30, 2023)[#](#what-s-new-in-2-1-0-aug-30-2023 "Link to this heading") These are the changes in pandas 2.1.0. See [Release notes](index.html#release) for a full changelog including other versions of pan...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
e0f91001-5a2f-5002-9dec-baf20c193910
changelog
pandas
pandas_whatsnew
2.1.0
1
reduction of the memory footprint and huge performance improvements. * inferring more complex dtypes with PyArrow by default, like `Decimal`, `lists`, `bytes`, `structured data` and more. * Better interoperability with other libraries that depend on Apache Arrow. We are collecting feedback on this decision [here](...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
f477d07c-6e59-5d99-ba32-03a93a636e62
changelog
pandas
pandas_whatsnew
2.1.0
2
Setting the option will also infer the dtype `"string"` as a [`StringDtype`](../reference/api/pandas.StringDtype.html#pandas.StringDtype "pandas.StringDtype") with storage set to `"pyarrow_numpy"`, ignoring the value behind the option `mode.string_storage`. This option only works if PyArrow is installed. PyArrow backe...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
3b999438-6275-5a07-b5f0-adf48c61f0c8
changelog
pandas
pandas_whatsnew
2.1.0
3
([`DataFrame.sum()`](../reference/api/pandas.DataFrame.sum.html#pandas.DataFrame.sum "pandas.DataFrame.sum") [`DataFrame.mean()`](../reference/api/pandas.DataFrame.mean.html#pandas.DataFrame.mean "pandas.DataFrame.mean") etc.) had NumPy dtypes, even when the DataFrames were of extension dtypes. Pandas can now keep the ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
7e537107-6c1f-58f1-86e9-a1ebc64822ea
changelog
pandas
pandas_whatsnew
2.1.0
4
Notice that the dtype is now a masked dtype and PyArrow dtype, respectively, while previously it was a NumPy integer dtype. To allow DataFrame reductions to preserve extension dtypes, [`ExtensionArray._reduce()`](../reference/api/pandas.api.extensions.ExtensionArray._reduce.html#pandas.api.extensions.ExtensionArray._r...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
0f49c2cc-6851-5505-b4e8-8a7099a34fb4
changelog
pandas
pandas_whatsnew
2.1.0
5
### Copy-on-Write improvements[#](#copy-on-write-improvements "Link to this heading") * [`Series.transform()`](../reference/api/pandas.Series.transform.html#pandas.Series.transform "pandas.Series.transform") not respecting Copy-on-Write when `func` modifies [`Series`](../reference/api/pandas.Series.html#pandas.Series...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
149e3604-0b23-5737-a4c9-ed49ec1634cc
changelog
pandas
pandas_whatsnew
2.1.0
6
* The [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") constructor, when constructing a DataFrame from a dictionary of Index objects and specifying `copy=False`, will now use a lazy copy of those Index objects for the columns of the DataFrame ([GH 52947](https://github.com/p...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
58e390e8-586b-5013-b176-d37c673534cc
changelog
pandas
pandas_whatsnew
2.1.0
7
* [`DataFrame.head()`](../reference/api/pandas.DataFrame.head.html#pandas.DataFrame.head "pandas.DataFrame.head") and [`DataFrame.tail()`](../reference/api/pandas.DataFrame.tail.html#pandas.DataFrame.tail "pandas.DataFrame.tail") will now return deep copies ([GH 54011](https://github.com/pandas-dev/pandas/issues/54011)...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
2164bda1-adb1-5369-8cdc-63406153a693
changelog
pandas
pandas_whatsnew
2.1.0
8
+ DataFrame.mask / Series.mask + DataFrame.interpolate / Series.interpolate + DataFrame.ffill / Series.ffill + DataFrame.bfill / Series.bfill ### New [`DataFrame.map()`](../reference/api/pandas.DataFrame.map.html#pandas.DataFrame.map "pandas.DataFrame.map") method and support for ExtensionArrays[#](#new-datafr...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
52da7f7f-7ac3-5bce-99e0-3b96d4d92b45
changelog
pandas
pandas_whatsnew
2.1.0
9
The [`DataFrame.map()`](../reference/api/pandas.DataFrame.map.html#pandas.DataFrame.map "pandas.DataFrame.map") been added and [`DataFrame.applymap()`](../reference/api/pandas.DataFrame.applymap.html#pandas.DataFrame.applymap "pandas.DataFrame.applymap") has been deprecated. [`DataFrame.map()`](../reference/api/pandas....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
108125f2-f06a-546a-a1ef-8ce6f05182b7
changelog
pandas
pandas_whatsnew
2.1.0
10
When given a callable, [`Series.map()`](../reference/api/pandas.Series.map.html#pandas.Series.map "pandas.Series.map") applies the callable to all elements of the [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series"). Similarly, [`DataFrame.map()`](../reference/api/pandas.DataFrame.map.html#pand...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
c84cb90a-669b-5acc-a45b-2ee712484208
changelog
pandas
pandas_whatsnew
2.1.0
11
However, `na_action="ignore"` was not implemented for many [`ExtensionArray`](../reference/api/pandas.api.extensions.ExtensionArray.html#pandas.api.extensions.ExtensionArray "pandas.api.extensions.ExtensionArray") and `Index` types and `na_action="ignore"` did not work correctly for any [`ExtensionArray`](../reference/...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
1f2e0027-f1de-5a9c-9253-4f6baf959ca9
changelog
pandas
pandas_whatsnew
2.1.0
12
In [1]: ser = pd.Series(["a", "b", np.nan], dtype="category") In [2]: ser.map(str.upper, na_action="ignore") NotImplementedError In [3]: df = pd.DataFrame(ser) In [4]: df.applymap(str.upper, na_action="ignore") # worked for DataFrame 0 0 A 1 B 2 NaN In [5]: idx = pd.Index(ser) In [6]: idx.map(str.upper, na...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
6c4e4992-87d7-5a86-9ad6-07df5b8036e7
changelog
pandas
pandas_whatsnew
2.1.0
13
Also, note that `Categorical.map()` implicitly has had its `na_action` set to `"ignore"` by default. This has been deprecated and the default for `Categorical.map()` will change to `na_action=None`, consistent with all the other array types. ### New implementation of [`DataFrame.stack()`](../reference/api/pandas.DataF...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
fa054a58-925a-516d-800e-b1e9146766cc
changelog
pandas
pandas_whatsnew
2.1.0
14
1. The previous implementation would unnecessarily introduce NA values into the result. The user could have NA values automatically removed by passing `dropna=True` (the default), but doing this could also remove NA values from the result that existed in the input. See the examples below. 2. The previous implementation...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
81a2a3a8-4887-5e9d-917a-bffec3944052
changelog
pandas
pandas_whatsnew
2.1.0
15
The new implementation (`future_stack=True`) will no longer unnecessarily introduce NA values when stacking multiple levels and will never sort. As such, the arguments `dropna` and `sort` are not utilized and must remain unspecified when using `future_stack=True`. These arguments will be removed in the next major relea...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
3dc731d1-3ae4-5010-9874-750d086e7ce8
changelog
pandas
pandas_whatsnew
2.1.0
16
z B d 0 A c 2 y B d 1 A c 3 dtype: int64 ``` If the input contains NA values, the previous version would drop those as well with `dropna=True` or introduce new NA values with `dropna=False`. The new version persists all values from the input. ```None In [16]: df = pd.DataFrame([[0, 2], [np.nan...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
0beb4d39-5cd9-50a5-aead-c390d400d182
changelog
pandas
pandas_whatsnew
2.1.0
17
### Other enhancements[#](#other-enhancements "Link to this heading") * [`Series.ffill()`](../reference/api/pandas.Series.ffill.html#pandas.Series.ffill "pandas.Series.ffill") and [`Series.bfill()`](../reference/api/pandas.Series.bfill.html#pandas.Series.bfill "pandas.Series.bfill") are now supported for objects with ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
88ef5936-b13e-5a7f-8348-1386354ac69a
changelog
pandas
pandas_whatsnew
2.1.0
18
`Categorical.map()` implicitly had a default value of `"ignore"` for `na_action`. This has formally been deprecated and will be changed to `None` in the future. Also notice that [`Series.map()`](../reference/api/pandas.Series.map.html#pandas.Series.map "pandas.Series.map") has default `na_action=None` and calls to ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
97861a46-e159-5064-a22d-2737bcac93a8
changelog
pandas
pandas_whatsnew
2.1.0
19
* [`DataFrame.applymap()`](../reference/api/pandas.DataFrame.applymap.html#pandas.DataFrame.applymap "pandas.DataFrame.applymap") now uses the `map()` method of underlying [`api.extensions.ExtensionArray`](../reference/api/pandas.api.extensions.ExtensionArray.html#pandas.api.extensions.ExtensionArray "pandas.api.extens...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
3dba328d-cabb-5da6-bf8b-9fd386a67322
changelog
pandas
pandas_whatsnew
2.1.0
20
* `arrays.SparseArray.map()` now supports `na_action` ([GH 52096](https://github.com/pandas-dev/pandas/issues/52096)). * [`pandas.read_html()`](../reference/api/pandas.read_html.html#pandas.read_html "pandas.read_html") now supports the `storage_options` keyword when used with a URL, allowing users to add headers to th...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
d4a6e828-f317-59f2-87da-a62dfa0cc038
changelog
pandas
pandas_whatsnew
2.1.0
21
* Add dtype of categories to `repr` information of [`CategoricalDtype`](../reference/api/pandas.CategoricalDtype.html#pandas.CategoricalDtype "pandas.CategoricalDtype") ([GH 52179](https://github.com/pandas-dev/pandas/issues/52179)) * Adding `engine_kwargs` parameter to [`read_excel()`](../reference/api/pandas.read_exc...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
ff6458e2-d8bc-5891-a6ff-7aca82732112
changelog
pandas
pandas_whatsnew
2.1.0
22
* Implemented [`Series.dt.is_month_start`](../reference/api/pandas.Series.dt.is_month_start.html#pandas.Series.dt.is_month_start "pandas.Series.dt.is_month_start"), [`Series.dt.is_month_end`](../reference/api/pandas.Series.dt.is_month_end.html#pandas.Series.dt.is_month_end "pandas.Series.dt.is_month_end"), [`Series.dt....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
f162aeaa-83a8-5057-a34d-849efb7ad857
changelog
pandas
pandas_whatsnew
2.1.0
23
* [`DataFrameGroupBy.agg()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.agg.html#pandas.core.groupby.DataFrameGroupBy.agg "pandas.core.groupby.DataFrameGroupBy.agg") and [`DataFrameGroupBy.transform()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.transform.html#pandas.core.groupby.DataFrameGroupBy....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
b33d5036-55cc-5d89-b9fd-8778d399d0af
changelog
pandas
pandas_whatsnew
2.1.0
24
* [`SeriesGroupBy.agg()`](../reference/api/pandas.core.groupby.SeriesGroupBy.agg.html#pandas.core.groupby.SeriesGroupBy.agg "pandas.core.groupby.SeriesGroupBy.agg") and [`DataFrameGroupBy.agg()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.agg.html#pandas.core.groupby.DataFrameGroupBy.agg "pandas.core.groupby...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
b671a463-b634-5d72-a30d-89ee7620f5fd
changelog
pandas
pandas_whatsnew
2.1.0
25
* [`DataFrame.stack()`](../reference/api/pandas.DataFrame.stack.html#pandas.DataFrame.stack "pandas.DataFrame.stack") gained the `sort` keyword to dictate whether the resulting [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") levels are sorted ([GH 15105](https://github.com/...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
3e0f7df8-f068-5efd-9bed-01db71a6ae6a
changelog
pandas
pandas_whatsnew
2.1.0
26
* [`Series.str.join()`](../reference/api/pandas.Series.str.join.html#pandas.Series.str.join "pandas.Series.str.join") now supports `ArrowDtype(pa.string())` ([GH 53646](https://github.com/pandas-dev/pandas/issues/53646)) * Add `validate` parameter to [`Categorical.from_codes()`](../reference/api/pandas.Categorical.from...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
cc7e72b1-016c-5aec-a14c-84f425142537
changelog
pandas
pandas_whatsnew
2.1.0
27
* Added `engine_kwargs` parameter to [`DataFrame.to_excel()`](../reference/api/pandas.DataFrame.to_excel.html#pandas.DataFrame.to_excel "pandas.DataFrame.to_excel") ([GH 53220](https://github.com/pandas-dev/pandas/issues/53220)) * Implemented [`api.interchange.from_dataframe()`](../reference/api/pandas.api.interchange....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
ba3ec0da-7243-5d2b-a3be-be1458f98819
changelog
pandas
pandas_whatsnew
2.1.0
28
* Implemented `__pandas_priority__` to allow custom types to take precedence over [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame"), [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series"), [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.In...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
a48a7161-c450-5919-a978-7dfe599d033f
changelog
pandas
pandas_whatsnew
2.1.0
29
* Improve error message when setting [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") with wrong number of columns through `DataFrame.isetitem()` ([GH 51701](https://github.com/pandas-dev/pandas/issues/51701)) * Improved error handling when using [`DataFrame.to_json()`](../refer...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
d53b80c6-5ff0-5078-bc00-1c51d6042cc8
changelog
pandas
pandas_whatsnew
2.1.0
30
* Improved error message when providing an invalid `index` or `offset` argument to [`VariableOffsetWindowIndexer`](../reference/api/pandas.api.indexers.VariableOffsetWindowIndexer.html#pandas.api.indexers.VariableOffsetWindowIndexer "pandas.api.indexers.VariableOffsetWindowIndexer") ([GH 54379](https://github.com/panda...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
5c213b30-f7f8-537e-b862-610e498f3d19
changelog
pandas
pandas_whatsnew
2.1.0
31
* Added a new parameter `by_row` to [`Series.apply()`](../reference/api/pandas.Series.apply.html#pandas.Series.apply "pandas.Series.apply") and [`DataFrame.apply()`](../reference/api/pandas.DataFrame.apply.html#pandas.DataFrame.apply "pandas.DataFrame.apply"). When set to `False` the supplied callables will always oper...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
44939fdf-3030-5ced-b0e3-7ed99e780db5
changelog
pandas
pandas_whatsnew
2.1.0
32
* Groupby aggregations with `numba` (such as [`DataFrameGroupBy.sum()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.sum.html#pandas.core.groupby.DataFrameGroupBy.sum "pandas.core.groupby.DataFrameGroupBy.sum")) now can preserve the dtype of the input instead of casting to `float64` ([GH 44952](https://github....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
214b633e-ce93-50f4-b7b6-5f717e33c111
changelog
pandas
pandas_whatsnew
2.1.0
33
* Reductions [`Series.argmax()`](../reference/api/pandas.Series.argmax.html#pandas.Series.argmax "pandas.Series.argmax"), [`Series.argmin()`](../reference/api/pandas.Series.argmin.html#pandas.Series.argmin "pandas.Series.argmin"), [`Series.idxmax()`](../reference/api/pandas.Series.idxmax.html#pandas.Series.idxmax "pand...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
83ddf66d-dcbd-59ec-bdb2-3686e897fffe
changelog
pandas
pandas_whatsnew
2.1.0
34
* [`DataFrame.to_parquet()`](../reference/api/pandas.DataFrame.to_parquet.html#pandas.DataFrame.to_parquet "pandas.DataFrame.to_parquet") and [`read_parquet()`](../reference/api/pandas.read_parquet.html#pandas.read_parquet "pandas.read_parquet") will now write and read `attrs` respectively ([GH 54346](https://github.co...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
e7301467-8077-52d8-b639-a0118e7c9c92
changelog
pandas
pandas_whatsnew
2.1.0
35
* [`Series.cummax()`](../reference/api/pandas.Series.cummax.html#pandas.Series.cummax "pandas.Series.cummax"), [`Series.cummin()`](../reference/api/pandas.Series.cummin.html#pandas.Series.cummin "pandas.Series.cummin") and [`Series.cumprod()`](../reference/api/pandas.Series.cumprod.html#pandas.Series.cumprod "pandas.Se...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
047319f7-8a3b-5411-b0c2-142965e19a61
changelog
pandas
pandas_whatsnew
2.1.0
36
* Performance improvement in [`DataFrameGroupBy.quantile()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.quantile.html#pandas.core.groupby.DataFrameGroupBy.quantile "pandas.core.groupby.DataFrameGroupBy.quantile") and [`SeriesGroupBy.quantile()`](../reference/api/pandas.core.groupby.SeriesGroupBy.quantile.htm...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
5d07cdc2-2cef-5af0-8c76-c1e686bab337
changelog
pandas
pandas_whatsnew
2.1.0
37
### Increased minimum versions for dependencies[#](#increased-minimum-versions-for-dependencies "Link to this heading") Some minimum supported versions of dependencies were updated. If installed, we now require: | Package | Minimum Version | Required | Changed | | --- | --- | --- | --- | | numpy | 1.22.4 | X | X | | ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
f7c1121c-9e24-5407-9a0f-f180954b4838
changelog
pandas
pandas_whatsnew
2.1.0
38
| tabulate | 0.8.10 | | X | | xarray | 2022.03.0 | | X | | xlsxwriter | 3.0.3 | | X | | zstandard | 0.17.0 | | X | For [optional libraries](https://pandas.pydata.org/docs/getting_started/install.html) the general recommendation is to use the latest version. See [Dependencies](../getting_started/install.html#insta...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
37e77a0f-7152-5af0-932a-2791dcd8023a
changelog
pandas
pandas_whatsnew
2.1.0
39
## Deprecations[#](#deprecations "Link to this heading") ### Deprecated silent upcasting in setitem-like Series operations[#](#deprecated-silent-upcasting-in-setitem-like-series-operations "Link to this heading") PDEP-6: <https://pandas.pydata.org/pdeps/0006-ban-upcasting.html> Setitem-like operations on Series (or ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
f93ae89b-b406-5ef0-93ac-854c99f996d4
changelog
pandas
pandas_whatsnew
2.1.0
40
In a future version, these will raise an error and you should cast to a common dtype first. *Previous behavior*: ```None In [1]: ser = pd.Series([1, 2, 3]) In [2]: ser Out[2]: 0 1 1 2 2 3 dtype: int64 In [3]: ser[0] = 'not an int64' In [4]: ser Out[4]: 0 not an int64 1 2 2 3...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
1e68b1e2-8434-512c-af91-e222e7d10801
changelog
pandas
pandas_whatsnew
2.1.0
41
In [23]: ser[0] = 'not an int64' In [24]: ser Out[24]: 0 not an int64 1 2 2 3 dtype: object ``` Depending on the use-case, it might be more appropriate to cast to a different dtype. In the following, for example, we cast to `float64`: ```None In [25]: ser = pd.Series([1, 2, 3]) In [2...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
76e181a4-63fc-5b38-9725-b9488bbf6355
changelog
pandas
pandas_whatsnew
2.1.0
42
In [7]: data = ["2020-01-01 00:00:00+06:00", "2020-01-01 00:00:00+01:00"] In [8]: pd.to_datetime(data, utc=False) Out[8]: Index([2020-01-01 00:00:00+06:00, 2020-01-01 00:00:00+01:00], dtype='object') ``` *New behavior*: ```None In [9]: pd.to_datetime(data, utc=False) FutureWarning: In a future version of pandas, ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
0e352e54-3342-582e-a276-7ea22a0498ee
changelog
pandas
pandas_whatsnew
2.1.0
43
Out[30]: DatetimeIndex(['2019-12-31 18:00:00+00:00', '2019-12-31 23:00:00+00:00'], dtype='datetime64[ns, UTC]', freq=None) ``` To create a `Series` with mixed offsets and `object` dtype, please use `apply` and `datetime.datetime.strptime`: ```None In [31]: import datetime as dt In [32]: data = ["2020-01-01 00:00:00+...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
78372adf-7ba0-517c-8d98-23a88900726a
changelog
pandas
pandas_whatsnew
2.1.0
44
* Deprecated [`concat()`](../reference/api/pandas.concat.html#pandas.concat "pandas.concat") behavior when any of the objects being concatenated have length 0; in the past the dtypes of empty objects were ignored when determining the resulting dtype, in a future version they will not ([GH 39122](https://github.com/pand...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
a71938d2-e55d-58c0-8547-f5ce936dfa79
changelog
pandas
pandas_whatsnew
2.1.0
45
* Deprecated [`DataFrameGroupBy.all()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.all.html#pandas.core.groupby.DataFrameGroupBy.all "pandas.core.groupby.DataFrameGroupBy.all") and [`DataFrameGroupBy.any()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.any.html#pandas.core.groupby.DataFrameGroupBy.a...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
6647b4c1-1a39-5e40-8572-ad154738948e
changelog
pandas
pandas_whatsnew
2.1.0
46
* Deprecated `axis=1` in [`DataFrame.ewm()`](../reference/api/pandas.DataFrame.ewm.html#pandas.DataFrame.ewm "pandas.DataFrame.ewm"), [`DataFrame.rolling()`](../reference/api/pandas.DataFrame.rolling.html#pandas.DataFrame.rolling "pandas.DataFrame.rolling"), [`DataFrame.expanding()`](../reference/api/pandas.DataFrame.e...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md
150a3663-24f0-551e-85a2-31538e1d701e
changelog
pandas
pandas_whatsnew
2.1.0
47
* Deprecated `broadcast_axis` keyword in [`Series.align()`](../reference/api/pandas.Series.align.html#pandas.Series.align "pandas.Series.align") and [`DataFrame.align()`](../reference/api/pandas.DataFrame.align.html#pandas.DataFrame.align "pandas.DataFrame.align"), upcast before calling `align` with `left = DataFrame({...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md