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 |
|---|---|---|---|---|---|---|---|
0a5ed0ae-3956-5297-88b9-5a9a269432c1 | changelog | pandas | pandas_whatsnew | 2.1.0 | 148 | * Bug in [`DataFrame.stack()`](../reference/api/pandas.DataFrame.stack.html#pandas.DataFrame.stack "pandas.DataFrame.stack") losing extension dtypes when columns is a [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") and frame contains mixed dtypes ([GH 45740](https://github.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
32d84ad9-db9d-5ec8-aaa4-64cecd96a512 | changelog | pandas | pandas_whatsnew | 2.1.0 | 149 | * Bug in [`Series.combine_first()`](../reference/api/pandas.Series.combine_first.html#pandas.Series.combine_first "pandas.Series.combine_first") converting `int64` dtype to `float64` and losing precision on very large integers ([GH 51764](https://github.com/pandas-dev/pandas/issues/51764))
* Bug when joining empty [`Da... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
ded3877b-6230-506a-a773-032ada65586f | changelog | pandas | pandas_whatsnew | 2.1.0 | 150 | * Bug in `arrays.SparseArray.map()` allowed the fill value to be included in the sparse values ([GH 52095](https://github.com/pandas-dev/pandas/issues/52095))
### ExtensionArray[#](#extensionarray "Link to this heading")
* Bug in [`ArrowStringArray`](../reference/api/pandas.arrays.ArrowStringArray.html#pandas.arrays.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
7cee340f-8cd7-5006-8d4b-bd236b6bd992 | changelog | pandas | pandas_whatsnew | 2.1.0 | 151 | * Bug in [`ArrowExtensionArray`](../reference/api/pandas.arrays.ArrowExtensionArray.html#pandas.arrays.ArrowExtensionArray "pandas.arrays.ArrowExtensionArray") converting pandas non-nanosecond temporal objects from non-zero values to zero values ([GH 53171](https://github.com/pandas-dev/pandas/issues/53171))
* Bug in [... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
87a52653-3344-5466-8d5e-00736b78c7ad | changelog | pandas | pandas_whatsnew | 2.1.0 | 152 | * Bug in `__iter__()` and `__getitem__()` returning python datetime and timedelta objects for non-nano dtypes ([GH 53326](https://github.com/pandas-dev/pandas/issues/53326))
* Bug in `factorize()` returning incorrect uniques for a `pyarrow.dictionary` type `pyarrow.chunked_array` with more than one chunk ([GH 54844](ht... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
e3bc1c42-efb7-5a79-be3e-4b99a18dcb4b | changelog | pandas | pandas_whatsnew | 2.1.0 | 153 | * Bug where the `__from_arrow__` method of masked ExtensionDtypes (e.g. [`Float64Dtype`](../reference/api/pandas.Float64Dtype.html#pandas.Float64Dtype "pandas.Float64Dtype"), [`BooleanDtype`](../reference/api/pandas.BooleanDtype.html#pandas.BooleanDtype "pandas.BooleanDtype")) would not accept PyArrow arrays of type `p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
3a6c55a5-12fc-5c6b-93b5-fa6b0822a834 | changelog | pandas | pandas_whatsnew | 2.1.0 | 154 | * Fixed metadata propagation in [`DataFrame.max()`](../reference/api/pandas.DataFrame.max.html#pandas.DataFrame.max "pandas.DataFrame.max"), [`DataFrame.min()`](../reference/api/pandas.DataFrame.min.html#pandas.DataFrame.min "pandas.DataFrame.min"), [`DataFrame.prod()`](../reference/api/pandas.DataFrame.prod.html#panda... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
dfe40621-fc5d-5e00-8d5e-ab1a52046e69 | changelog | pandas | pandas_whatsnew | 2.1.0 | 155 | * Fixed metadata propagation in [`DataFrame.squeeze()`](../reference/api/pandas.DataFrame.squeeze.html#pandas.DataFrame.squeeze "pandas.DataFrame.squeeze"), and [`DataFrame.describe()`](../reference/api/pandas.DataFrame.describe.html#pandas.DataFrame.describe "pandas.DataFrame.describe") ([GH 28283](https://github.com/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
6cd96cc4-076f-5029-9bb4-463bbe092e15 | changelog | pandas | pandas_whatsnew | 2.1.0 | 156 | * Bug in [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") and [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") raising for data of complex dtype when `NaN` values are present ([GH 53627](https://github.com/pandas-dev/pandas/issues/53627))
* Bug in [`... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
5eb9adeb-bb28-5b63-bf86-cd4aafa531f7 | changelog | pandas | pandas_whatsnew | 2.1.0 | 157 | * Bug in [`testing.assert_frame_equal()`](../reference/api/pandas.testing.assert_frame_equal.html#pandas.testing.assert_frame_equal "pandas.testing.assert_frame_equal") and [`testing.assert_series_equal()`](../reference/api/pandas.testing.assert_series_equal.html#pandas.testing.assert_series_equal "pandas.testing.asser... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
02aa07f1-45a2-5085-9aa5-b7f1691a6ca8 | changelog | pandas | pandas_whatsnew | 2.1.0 | 158 | * 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 not respecting `allow_copy` argument ([GH 54322](https://github.com/pandas-dev/pandas/issues/54322))
* Bug in [`api.interchange.fro... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
5d4bdbd8-d7ce-5549-a453-7f377d3be4a6 | changelog | pandas | pandas_whatsnew | 2.1.0 | 159 | * Bug in [`from_dummies()`](../reference/api/pandas.from_dummies.html#pandas.from_dummies "pandas.from_dummies") where the resulting [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") did not match the original [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") ([GH 54300](... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
688cc29d-7804-5dab-a0a9-13085daafb27 | changelog | pandas | pandas_whatsnew | 2.1.0 | 160 | * Bug in [`DataFrameGroupBy.first()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.first.html#pandas.core.groupby.DataFrameGroupBy.first "pandas.core.groupby.DataFrameGroupBy.first"), [`DataFrameGroupBy.last()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.last.html#pandas.core.groupby.DataFrameGroupB... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
e061a6c2-0550-5092-9661-70fa77b49a5d | changelog | pandas | pandas_whatsnew | 2.1.0 | 161 | * Bug in [`DataFrame.pivot_table()`](../reference/api/pandas.DataFrame.pivot_table.html#pandas.DataFrame.pivot_table "pandas.DataFrame.pivot_table") with casting the mean of ints back to an int ([GH 16676](https://github.com/pandas-dev/pandas/issues/16676))
* Bug in [`DataFrame.reindex()`](../reference/api/pandas.DataF... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
ab6af119-501b-5d46-9fd6-651eccd7d176 | changelog | pandas | pandas_whatsnew | 2.1.0 | 162 | * Bug in [`Index.sort_values()`](../reference/api/pandas.Index.sort_values.html#pandas.Index.sort_values "pandas.Index.sort_values") when a `key` is passed ([GH 52764](https://github.com/pandas-dev/pandas/issues/52764))
* Bug in [`Series.align()`](../reference/api/pandas.Series.align.html#pandas.Series.align "pandas.Se... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
edff3056-4e54-5982-87f4-5bc970f396ff | changelog | pandas | pandas_whatsnew | 2.1.0 | 163 | * Bug in [`Series.argsort()`](../reference/api/pandas.Series.argsort.html#pandas.Series.argsort "pandas.Series.argsort") failing to raise when an invalid `axis` is passed ([GH 54257](https://github.com/pandas-dev/pandas/issues/54257))
* Bug in [`Series.map()`](../reference/api/pandas.Series.map.html#pandas.Series.map "... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
7db266cf-56a5-57c3-93e8-80ecd332d7df | changelog | pandas | pandas_whatsnew | 2.1.0 | 164 | * Bug in [`period_range()`](../reference/api/pandas.period_range.html#pandas.period_range "pandas.period_range") the default behavior when freq was not passed as an argument was incorrect([GH 53687](https://github.com/pandas-dev/pandas/issues/53687))
* Fixed incorrect `__name__` attribute of `pandas._libs.json` ([GH 52... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
1a7dcee5-b711-5f8c-8d84-4cbd0049d768 | changelog | pandas | pandas_whatsnew | 2.1.0 | 165 | * Brayan Alexander Muñoz B +
* Brock
* Chetan0402 +
* Chris Carini
* ChristofKaufmann
* Clark-W +
* Conrad Mcgee Stocks
* Corrie Bartelheimer +
* Coulton Theuer +
* D067751 +
* Daniel Isaac
* Daniele Nicolodi +
* David Samuel +
* David Seifert +
* Dea Leon +
* Dea María Léon
* Deepyaman Datta
* Denis Sapozhnikov +
* Dh... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
8969c4cb-508c-55b2-8fee-b1581d48152b | changelog | pandas | pandas_whatsnew | 2.1.0 | 166 | * Joshua Shew +
* Julian Badillo
* Julian Ortiz +
* Julien Palard +
* Justin Tyson +
* Justus Magin
* Kabiir Krishna +
* Kang Su Min
* Ketu Patel +
* Kevin +
* Kevin Anderson
* Kevin Jan Anker
* Kevin Klein +
* Kevin Sheppard
* Kostya Farber
* LM +
* Lars Lien Ankile +
* Lawrence Mitchell
* Liwei Cai +
* Loic Diridollo... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
dc56c4db-2581-5374-92f3-9c1a8e67de14 | changelog | pandas | pandas_whatsnew | 2.1.0 | 167 | * Pranav Saibhushan Ravuri
* PrathumP +
* Rahul Siloniya +
* Rajasvi Vinayak +
* Rajat Subhra Mukherjee +
* Ralf Gommers
* RaphSku
* Rebecca Chen +
* Renato Cotrim Maciel +
* Reza (Milad) Maanijou +
* Richard Shadrach
* Rithik Reddy +
* Robert Luce +
* Ronalido +
* Rylie Wei +
* SOUMYADIP MAL +
* Sanjith Chockan +
* Sa... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
b86ac75b-9289-5f19-8bc1-bd0fb2b9bfd9 | changelog | pandas | pandas_whatsnew | 2.1.0 | 168 | * Wolf Behrenhoff +
* Xiao Yuan
* Yao Xiao
* Yasin Tatar
* Yaxin Li +
* Yi Wei +
* Yulia +
* Yusharth Singh +
* Zach Breger +
* Zhengbo Wang
* abokey1 +
* ahmad2901 +
* assafam +
* auderson
* august-tengland +
* bunardsheng +
* cmmck +
* cnguyen-03 +
* coco +
* dependabot[bot]
* giplessis +
* github-actions[bot]
* gmai... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.0.md |
5866fbd9-1503-5f1b-a3aa-2e0452aa0207 | changelog | pandas | pandas_whatsnew | 2.1.1 | 0 | # What's new in pandas 2.1.1
Source: https://pandas.pydata.org/docs/whatsnew/v2.1.1.html
# What’s new in 2.1.1 (September 20, 2023)[#](#what-s-new-in-2-1-1-september-20-2023 "Link to this heading")
These are the changes in pandas 2.1.1. See [Release notes](index.html#release) for a full changelog
including other ver... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.1.md |
14297403-6eee-51b1-8be9-2afc4cf0eb37 | changelog | pandas | pandas_whatsnew | 2.1.1 | 1 | * Fixed regression in [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") when `usecols` is given and `dtypes` is a dict for `engine="python"` ([GH 54868](https://github.com/pandas-dev/pandas/issues/54868))
* Fixed regression in [`read_csv()`](../reference/api/pandas.read_csv.html#pa... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.1.md |
ee47617f-c02e-5cff-9d21-894707cdef29 | changelog | pandas | pandas_whatsnew | 2.1.1 | 2 | * Fixed regression in [`DataFrame.filter()`](../reference/api/pandas.DataFrame.filter.html#pandas.DataFrame.filter "pandas.DataFrame.filter") not respecting the order of elements for `filter` ([GH 54980](https://github.com/pandas-dev/pandas/issues/54980))
* Fixed regression in [`DataFrame.to_sql()`](../reference/api/pa... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.1.md |
2500a7a8-115f-5d84-acd1-a6f6399dc8cb | changelog | pandas | pandas_whatsnew | 2.1.1 | 3 | * Fixed regression in [`MultiIndex.append()`](../reference/api/pandas.MultiIndex.append.html#pandas.MultiIndex.append "pandas.MultiIndex.append") raising when appending overlapping [`IntervalIndex`](../reference/api/pandas.IntervalIndex.html#pandas.IntervalIndex "pandas.IntervalIndex") levels ([GH 54934](https://github... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.1.md |
75022f52-0478-5477-8a2f-88d54f25f857 | changelog | pandas | pandas_whatsnew | 2.1.1 | 4 | * Fixed regression in [`Series.value_counts()`](../reference/api/pandas.Series.value_counts.html#pandas.Series.value_counts "pandas.Series.value_counts") raising for numeric data if `bins` was specified ([GH 54857](https://github.com/pandas-dev/pandas/issues/54857))
* Fixed regression in comparison operations for PyArr... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.1.md |
7e8e92bd-5357-5a30-8a47-5b6e9015cd3c | changelog | pandas | pandas_whatsnew | 2.1.1 | 5 | * Fixed bug in [`DataFrame.stack()`](../reference/api/pandas.DataFrame.stack.html#pandas.DataFrame.stack "pandas.DataFrame.stack") with `future_stack=True` and columns a non-[`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") consisting of tuples ([GH 54948](https://github.com/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.1.md |
ee330c2d-d542-56dd-8022-088a033c56a2 | changelog | pandas | pandas_whatsnew | 2.1.1 | 6 | * Fixed bug in [`Series.pct_change()`](../reference/api/pandas.Series.pct_change.html#pandas.Series.pct_change "pandas.Series.pct_change") and [`DataFrame.pct_change()`](../reference/api/pandas.DataFrame.pct_change.html#pandas.DataFrame.pct_change "pandas.DataFrame.pct_change") showing unnecessary `FutureWarning` ([GH ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.1.md |
a5d75fb1-d587-5c61-af31-24faf9bc1d23 | changelog | pandas | pandas_whatsnew | 2.1.1 | 7 | ## Contributors[#](#contributors "Link to this heading")
A total of 13 people contributed patches to this release. People with a
“+” by their names contributed a patch for the first time.
* Ben Greiner +
* Joris Van den Bossche
* Kai Mühlbauer +
* Luke Manley
* Lumberbot (aka Jack)
* Mateusz Sokół
* Matthew Roeschke
... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.1.md |
23ca0790-0347-579a-bbee-de11639cccc7 | changelog | pandas | pandas_whatsnew | 2.1.2 | 0 | # What's new in pandas 2.1.2
Source: https://pandas.pydata.org/docs/whatsnew/v2.1.2.html
# What’s new in 2.1.2 (October 26, 2023)[#](#what-s-new-in-2-1-2-october-26-2023 "Link to this heading")
These are the changes in pandas 2.1.2. See [Release notes](index.html#release) for a full changelog
including other version... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.2.md |
ea023636-4cc1-54bb-ad01-8eaca0609342 | changelog | pandas | pandas_whatsnew | 2.1.2 | 1 | ## Fixed regressions[#](#fixed-regressions "Link to this heading")
* Fixed regression in [`DataFrame.join()`](../reference/api/pandas.DataFrame.join.html#pandas.DataFrame.join "pandas.DataFrame.join") where result has missing values and dtype is arrow backed string ([GH 55348](https://github.com/pandas-dev/pandas/issu... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.2.md |
d600e928-3277-553f-a318-5e87c12bc352 | changelog | pandas | pandas_whatsnew | 2.1.2 | 2 | * Fixed regression in [`DataFrame.sort_index()`](../reference/api/pandas.DataFrame.sort_index.html#pandas.DataFrame.sort_index "pandas.DataFrame.sort_index") which was not sorting correctly when the index was a sliced [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") ([GH 553... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.2.md |
3b566273-f795-59a0-bb74-e569121e991f | changelog | pandas | pandas_whatsnew | 2.1.2 | 3 | * Fixed regression in [`merge_asof()`](../reference/api/pandas.merge_asof.html#pandas.merge_asof "pandas.merge_asof") raising `TypeError` for `by` with datetime and timedelta dtypes ([GH 55453](https://github.com/pandas-dev/pandas/issues/55453))
* Fixed regression in [`read_parquet()`](../reference/api/pandas.read_parq... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.2.md |
ee754c2b-e656-5510-b681-0cf938dfd03d | changelog | pandas | pandas_whatsnew | 2.1.2 | 4 | ## Bug fixes[#](#bug-fixes "Link to this heading")
* Fixed bug in `DataFrameGroupBy` reductions not preserving object dtype when `infer_string` is set ([GH 55620](https://github.com/pandas-dev/pandas/issues/55620))
* Fixed bug in [`SeriesGroupBy.value_counts()`](../reference/api/pandas.core.groupby.SeriesGroupBy.value... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.2.md |
cd7793e3-0a4c-5383-9477-12ecbbacd5da | changelog | pandas | pandas_whatsnew | 2.1.2 | 5 | * Fixed bug in [`DataFrame.idxmin()`](../reference/api/pandas.DataFrame.idxmin.html#pandas.DataFrame.idxmin "pandas.DataFrame.idxmin") and [`DataFrame.idxmax()`](../reference/api/pandas.DataFrame.idxmax.html#pandas.DataFrame.idxmax "pandas.DataFrame.idxmax") raising for arrow dtypes ([GH 55368](https://github.com/panda... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.2.md |
be46a376-783e-53b8-acae-1b848c60679a | changelog | pandas | pandas_whatsnew | 2.1.2 | 6 | * Fixed bug in [`Series.all()`](../reference/api/pandas.Series.all.html#pandas.Series.all "pandas.Series.all") and [`Series.any()`](../reference/api/pandas.Series.any.html#pandas.Series.any "pandas.Series.any") not treating missing values correctly for `dtype="string[pyarrow_numpy]"` ([GH 55367](https://github.com/pand... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.2.md |
52e02faa-7011-5a18-a45d-5763a10f6dc2 | changelog | pandas | pandas_whatsnew | 2.1.2 | 7 | * Fixed bug in [`Series.rank()`](../reference/api/pandas.Series.rank.html#pandas.Series.rank "pandas.Series.rank") for `string[pyarrow_numpy]` dtype ([GH 55362](https://github.com/pandas-dev/pandas/issues/55362))
* Fixed bug in [`Series.str.extractall()`](../reference/api/pandas.Series.str.extractall.html#pandas.Series... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.2.md |
8b5814ab-5dba-5cee-a1c3-36bbdeb2844a | changelog | pandas | pandas_whatsnew | 2.1.2 | 8 | * Fixed bug in [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") constructor not inferring string dtype when `NA` is the first value and `infer_string` is set (:issue:` 55655`)
## Other[#](#other "Link to this heading")
* Fixed non-working installation of optional dependency group `output_... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.2.md |
e49d8e4a-daf9-5329-8a13-588964bfa194 | changelog | pandas | pandas_whatsnew | 2.1.2 | 9 | * torext +
| large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.2.md |
42d9b1c4-7f9a-5bbf-9fe4-d293e74ed754 | changelog | pandas | pandas_whatsnew | 2.1.3 | 0 | # What's new in pandas 2.1.3
Source: https://pandas.pydata.org/docs/whatsnew/v2.1.3.html
# What’s new in 2.1.3 (November 10, 2023)[#](#what-s-new-in-2-1-3-november-10-2023 "Link to this heading")
These are the changes in pandas 2.1.3. See [Release notes](index.html#release) for a full changelog
including other versi... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.3.md |
9f437bd4-b8b3-5043-9016-b2b0ceb50d36 | changelog | pandas | pandas_whatsnew | 2.1.3 | 1 | * Fix [`read_parquet()`](../reference/api/pandas.read_parquet.html#pandas.read_parquet "pandas.read_parquet") and [`read_feather()`](../reference/api/pandas.read_feather.html#pandas.read_feather "pandas.read_feather") for [CVE-2023-47248](https://www.cve.org/CVERecord?id=CVE-2023-47248) ([GH 55894](https://github.com/p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.3.md |
cd7dbe28-76e7-528d-9ade-583dcc3702b0 | changelog | pandas | pandas_whatsnew | 2.1.4 | 0 | # What's new in pandas 2.1.4
Source: https://pandas.pydata.org/docs/whatsnew/v2.1.4.html
# What’s new in 2.1.4 (December 8, 2023)[#](#what-s-new-in-2-1-4-december-8-2023 "Link to this heading")
These are the changes in pandas 2.1.4. See [Release notes](index.html#release) for a full changelog
including other version... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.4.md |
23c0f8e7-a8a8-5de8-932a-3c3d4776a680 | changelog | pandas | pandas_whatsnew | 2.1.4 | 1 | * Bug in [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") when trying to cast date-like string inputs to [`ArrowDtype`](../reference/api/pandas.ArrowDtype.html#pandas.ArrowDtype "pandas.ArrowDtype") of `pyarrow.timestamp` ([GH 56266](https://github.com/pandas-dev/pandas/issues/56266))
* Bug... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.4.md |
eec2295b-bc76-59ba-98ff-87288bd66fea | changelog | pandas | pandas_whatsnew | 2.1.4 | 2 | * Fixed bug in [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") not respecting object dtype when `infer_string` option is set ([GH 56047](https://github.com/pandas-dev/pandas/issues/56047))
* Fixed bug in [`to_numeric()`](../reference/api/pandas.to_numeric.html#pandas.to_numeric "... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.4.md |
128c34cf-5e77-55ba-9b14-53856bd011af | changelog | pandas | pandas_whatsnew | 2.1.4 | 3 | * Fixed bug in `DataFrame.__setitem__()` casting [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") with object-dtype to PyArrow backed strings when `infer_string` option is set ([GH 55638](https://github.com/pandas-dev/pandas/issues/55638))
* Fixed bug in [`DataFrame.to_hdf()`](../reference/api/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.4.md |
774b4817-b191-510d-b366-ca56eb2fcbb9 | changelog | pandas | pandas_whatsnew | 2.1.4 | 4 | * Fixed bug in [`Series.mode()`](../reference/api/pandas.Series.mode.html#pandas.Series.mode "pandas.Series.mode") not keeping object dtype when `infer_string` is set ([GH 56183](https://github.com/pandas-dev/pandas/issues/56183))
* Fixed bug in [`Series.reset_index()`](../reference/api/pandas.Series.reset_index.html#p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.4.md |
8c24f773-03c0-50e9-9755-2e398b45c2d1 | changelog | pandas | pandas_whatsnew | 2.1.4 | 5 | * Fixed bug in [`Series.str.translate()`](../reference/api/pandas.Series.str.translate.html#pandas.Series.str.translate "pandas.Series.str.translate") losing object dtype when string option is set ([GH 56152](https://github.com/pandas-dev/pandas/issues/56152))
## Contributors[#](#contributors "Link to this heading")
... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.1.4.md |
faf218ca-515d-50fc-a76a-78a84bfa8fca | changelog | pandas | pandas_whatsnew | 2.2.0 | 0 | # What's new in pandas 2.2.0
Source: https://pandas.pydata.org/docs/whatsnew/v2.2.0.html
# What’s new in 2.2.0 (January 19, 2024)[#](#what-s-new-in-2-2-0-january-19-2024 "Link to this heading")
These are the changes in pandas 2.2.0. See [Release notes](index.html#release) for a full changelog
including other version... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
68149c8a-8875-509f-8d5d-8099ec3e7cf8 | changelog | pandas | pandas_whatsnew | 2.2.0 | 1 | This change brings different changes in behavior in how pandas operates with respect to
copies and views. Some of these changes allow a clear deprecation, like the changes in
chained assignment. Other changes are more subtle and thus, the warnings are hidden behind
an option that can be enabled in pandas 2.2.
```None
... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
872a4b97-f44b-52a8-959b-eb96f1da3780 | changelog | pandas | pandas_whatsnew | 2.2.0 | 2 | footprint. This will change in pandas 3.0. pandas will start inferring string columns
as a new `string` data type, backed by Arrow, which represents strings contiguous in memory. This brings
a huge performance and memory improvement.
Old behavior:
```None
In [1]: ser = pd.Series(["a", "b"])
Out[1]:
0 a
1 b
dtyp... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
39561063-a556-549b-a6be-7d1b418b0048 | changelog | pandas | pandas_whatsnew | 2.2.0 | 3 | * PyArrow will become a required dependency with pandas 3.0 to accommodate this change.
This future dtype inference logic can be enabled with:
```None
pd.options.future.infer_string = True
```
## Enhancements[#](#enhancements "Link to this heading")
### ADBC Driver support in to\_sql and read\_sql[#](#adbc-driver-s... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
ed5b0f75-9ccd-555c-aac0-1d10ae6c3578 | changelog | pandas | pandas_whatsnew | 2.2.0 | 4 | uri = "postgresql://postgres:postgres@localhost/postgres"
with pg_dbapi.connect(uri) as conn:
df.to_sql("pandas_table", conn, index=False)
# for round-tripping
with pg_dbapi.connect(uri) as conn:
df2 = pd.read_sql("pandas_table", conn)
```
The Arrow type system offers a wider array of types that can more clos... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
7b645712-8570-56ed-b80c-b6f823412cdc | changelog | pandas | pandas_whatsnew | 2.2.0 | 5 | | | binary | BINARY | BLOB |
| | decimal128 | DECIMAL [[1]](#f1) | |
| | list | ARRAY [[1]](#f1) | |
| | struct | COMPOSITE TYPE [[1]](#f1) | |
Footnotes
[1]
([1](#id1),[2](#id2),[3](#id3))
Not implemented as of writing, but theoretically possible
If you are interested in preserving database types as best a... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
5cf0a813-b963-591f-a2d2-a8bedc157548 | changelog | pandas | pandas_whatsnew | 2.2.0 | 6 | documentation.
### Create a pandas Series based on one or more conditions[#](#create-a-pandas-series-based-on-one-or-more-conditions "Link to this heading")
The [`Series.case_when()`](../reference/api/pandas.Series.case_when.html#pandas.Series.case_when "pandas.Series.case_when") function has been added to create a S... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
00fbe803-c955-597a-aae5-8315d9f2c501 | changelog | pandas | pandas_whatsnew | 2.2.0 | 7 | ### `to_numpy` for NumPy nullable and Arrow types converts to suitable NumPy dtype[#](#to-numpy-for-numpy-nullable-and-arrow-types-converts-to-suitable-numpy-dtype "Link to this heading")
`to_numpy` for NumPy nullable and Arrow types will now convert to a
suitable NumPy dtype instead of `object` dtype for nullable and... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
002f0ee2-0b82-51a3-882d-b0a75b7f5bb2 | changelog | pandas | pandas_whatsnew | 2.2.0 | 8 | * integer dtypes without missing values are cast to NumPy integer dtypes
* integer dtypes with missing values are cast to NumPy float dtypes and `NaN` is used as missing value indicator
* boolean dtypes without missing values are cast to NumPy bool dtype
* boolean dtypes with missing values keep object dtype
* datetime... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
578f4593-ffa5-5fbb-9330-5c6845ab51f9 | changelog | pandas | pandas_whatsnew | 2.2.0 | 9 | In [10]: series = pd.Series(
....: [
....: {"project": "pandas", "version": "2.2.0"},
....: {"project": "numpy", "version": "1.25.2"},
....: {"project": "pyarrow", "version": "13.0.0"},
....: ],
....: dtype=pd.ArrowDtype(
....: pa.struct([
....: ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
f008ed53-0bdc-5fc5-9c8c-2af20746ce96 | changelog | pandas | pandas_whatsnew | 2.2.0 | 10 | ### Series.list accessor for PyArrow list data[#](#series-list-accessor-for-pyarrow-list-data "Link to this heading")
The `Series.list` accessor provides attributes and methods for processing
data with `list[pyarrow]` dtype Series. For example,
[`Series.list.__getitem__()`](../reference/api/pandas.Series.list.__getite... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
d508ba6b-98fc-5871-afbb-00f2f5ddff96 | changelog | pandas | pandas_whatsnew | 2.2.0 | 11 | ### Calamine engine for [`read_excel()`](../reference/api/pandas.read_excel.html#pandas.read_excel "pandas.read_excel")[#](#calamine-engine-for-read-excel "Link to this heading")
The `calamine` engine was added to [`read_excel()`](../reference/api/pandas.read_excel.html#pandas.read_excel "pandas.read_excel").
It uses ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
036510ee-b47f-5099-9e43-cda979f6680c | changelog | pandas | pandas_whatsnew | 2.2.0 | 12 | 2. Calamine supports the recognition of datetime in `.xlsb` files, unlike ‘pyxlsb’ which is the only other engine in pandas that can read `.xlsb` files.
```None
pd.read_excel("path_to_file.xlsb", engine="calamine")
```
For more, see [Calamine (Excel and ODS files)](../user_guide/io.html#io-calamine) in the user guide... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
cd6183c3-c753-5822-9f50-07dbd51c8276 | changelog | pandas | pandas_whatsnew | 2.2.0 | 13 | * [`get_dummies()`](../reference/api/pandas.get_dummies.html#pandas.get_dummies "pandas.get_dummies") now returning extension dtypes `boolean` or `bool[pyarrow]` that are compatible with the input dtype ([GH 56273](https://github.com/pandas-dev/pandas/issues/56273))
* [`read_csv()`](../reference/api/pandas.read_csv.htm... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
8585b0a9-4fc7-5ca6-94a4-bb9688f1fa90 | changelog | pandas | pandas_whatsnew | 2.2.0 | 14 | * [`read_spss()`](../reference/api/pandas.read_spss.html#pandas.read_spss "pandas.read_spss") now returns a [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") that stores the metadata in [`DataFrame.attrs`](../reference/api/pandas.DataFrame.attrs.html#pandas.DataFrame.attrs "panda... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
4eb9ab39-3638-59a7-be1a-127f6dfdfd27 | changelog | pandas | pandas_whatsnew | 2.2.0 | 15 | * `ExtensionArray._explode()` interface method added to allow extension type implementations of the `explode` method ([GH 54833](https://github.com/pandas-dev/pandas/issues/54833))
* `ExtensionArray.duplicated()` added to allow extension type implementations of the `duplicated` method ([GH 55255](https://github.com/pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
5dec8de3-ff02-54d0-bf99-8af6a9360623 | changelog | pandas | pandas_whatsnew | 2.2.0 | 16 | * [`Series.ffill()`](../reference/api/pandas.Series.ffill.html#pandas.Series.ffill "pandas.Series.ffill"), [`Series.bfill()`](../reference/api/pandas.Series.bfill.html#pandas.Series.bfill "pandas.Series.bfill"), [`DataFrame.ffill()`](../reference/api/pandas.DataFrame.ffill.html#pandas.DataFrame.ffill "pandas.DataFrame.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
bbd2d81a-01c5-5d2c-9d51-3a53940571e1 | changelog | pandas | pandas_whatsnew | 2.2.0 | 17 | * Allow passing `read_only`, `data_only` and `keep_links` arguments to openpyxl using `engine_kwargs` of [`read_excel()`](../reference/api/pandas.read_excel.html#pandas.read_excel "pandas.read_excel") ([GH 55027](https://github.com/pandas-dev/pandas/issues/55027))
* Implement [`Series.interpolate()`](../reference/api/p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
890dbe43-90f3-5c74-bec8-505b75901901 | changelog | pandas | pandas_whatsnew | 2.2.0 | 18 | * Implemented [`Series.dt()`](../reference/api/pandas.Series.dt.html#pandas.Series.dt "pandas.Series.dt") methods and attributes for [`ArrowDtype`](../reference/api/pandas.ArrowDtype.html#pandas.ArrowDtype "pandas.ArrowDtype") with `pyarrow.duration` type ([GH 52284](https://github.com/pandas-dev/pandas/issues/52284))
... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
f51aba7d-6a89-5377-b780-4f1d93e6b3d6 | changelog | pandas | pandas_whatsnew | 2.2.0 | 19 | * Improved error message when constructing [`Period`](../reference/api/pandas.Period.html#pandas.Period "pandas.Period") with invalid offsets such as `"QS"` ([GH 55785](https://github.com/pandas-dev/pandas/issues/55785))
* The dtypes `string[pyarrow]` and `string[pyarrow_numpy]` now both utilize the `large_string` type... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
5dc6e1c7-4cc1-5eee-a339-4d80a38e4496 | changelog | pandas | pandas_whatsnew | 2.2.0 | 20 | In previous versions of pandas, [`merge()`](../reference/api/pandas.merge.html#pandas.merge "pandas.merge") and [`DataFrame.join()`](../reference/api/pandas.DataFrame.join.html#pandas.DataFrame.join "pandas.DataFrame.join") did not
always return a result that followed the documented sort behavior. pandas now
follows th... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
0acd48a8-b14b-5f78-85da-cc5efb49cf76 | changelog | pandas | pandas_whatsnew | 2.2.0 | 21 | * `how="outer"`: sort keys lexicographically
One example with changing behavior is inner joins with non-unique left join keys
and `sort=False`:
```None
In [16]: left = pd.DataFrame({"a": [1, 2, 1]})
In [17]: right = pd.DataFrame({"a": [1, 2]})
In [18]: result = pd.merge(left, right, how="inner", on="a", sort=False)... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
0661d845-7420-586b-9323-655bf421878c | changelog | pandas | pandas_whatsnew | 2.2.0 | 22 | In previous versions of pandas, [`merge()`](../reference/api/pandas.merge.html#pandas.merge "pandas.merge") and [`DataFrame.join()`](../reference/api/pandas.DataFrame.join.html#pandas.DataFrame.join "pandas.DataFrame.join") would reorder
index levels when joining on two indexes with different levels ([GH 34133](https:/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
0ffc44f2-d546-53c0-b7b9-77670ed6801f | changelog | pandas | pandas_whatsnew | 2.2.0 | 23 |
### Increased minimum versions for dependencies[#](#increased-minimum-versions-for-dependencies "Link to this heading")
For [optional dependencies](https://pandas.pydata.org/docs/getting_started/install.html) the general recommendation is to use the latest version.
Optional dependencies below the lowest tested versio... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
62f59409-bd58-506d-a90e-37712ecb19de | changelog | pandas | pandas_whatsnew | 2.2.0 | 24 | | pyqt5 | 5.15.8 |
| tzdata | 2022.7 |
See [Dependencies](../getting_started/install.html#install-dependencies) and [Optional dependencies](../getting_started/install.html#install-optional-dependencies) for more.
### Other API changes[#](#other-api-changes "Link to this heading")
* The hash values of nullable extens... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
c66721ba-b602-57bd-9697-076a7a90e480 | changelog | pandas | pandas_whatsnew | 2.2.0 | 25 | ## Deprecations[#](#deprecations "Link to this heading")
### Chained assignment[#](#chained-assignment "Link to this heading")
In preparation of larger upcoming changes to the copy / view behaviour in pandas 3.0
([Copy-on-Write (CoW)](../user_guide/copy_on_write.html#copy-on-write), PDEP-7), we started deprecating *c... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
545caaf6-01dc-52bb-9c56-aa68733732bc | changelog | pandas | pandas_whatsnew | 2.2.0 | 26 | This second example of chained assignment currently works to update the original `df`.
This will no longer work in pandas 3.0, and therefore we started deprecating this:
```None
>>> df["foo"][df["bar"] > 5] = 100
FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0!
You are setting values through... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
84f64f3f-e33c-5d6e-99bf-502cbc052a6a | changelog | pandas | pandas_whatsnew | 2.2.0 | 27 | You can fix this warning and ensure your code is ready for pandas 3.0 by removing
the usage of chained assignment. Typically, this can be done by doing the assignment
in a single step using for example `.loc`. For the example above, we can do:
```None
df.loc[df["bar"] > 5, "foo"] = 100
```
The same deprecation applie... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
cfc10148-eea6-52b3-acb2-8fe893886e9e | changelog | pandas | pandas_whatsnew | 2.2.0 | 28 | When the goal is to update the column in the DataFrame `df`, the alternative here is
to call the method on `df` itself, such as `df.fillna({"foo": 0}, inplace=True)`.
See more details in the [migration guide](../user_guide/copy_on_write.html#copy-on-write-migration-guide).
### Deprecate aliases `M`, `Q`, `Y`, etc. in... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
727156fa-66e4-5a6e-b83a-438a8dcb8198 | changelog | pandas | pandas_whatsnew | 2.2.0 | 29 | DatetimeIndex(['2020-02-29', '2020-05-31', '2020-08-31'],
dtype='datetime64[ns]', freq='Q-NOV')
```
*Future behavior*:
```None
In [26]: pd.date_range('2020-01-01', periods=3, freq='QE-NOV')
Out[26]: DatetimeIndex(['2020-02-29', '2020-05-31', '2020-08-31'], dtype='datetime64[ns]', freq='QE-NOV')
```
###... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
d02123e9-d7ab-5b3f-be94-6f1653db6306 | changelog | pandas | pandas_whatsnew | 2.2.0 | 30 | * [`Series.replace()`](../reference/api/pandas.Series.replace.html#pandas.Series.replace "pandas.Series.replace") and [`DataFrame.replace()`](../reference/api/pandas.DataFrame.replace.html#pandas.DataFrame.replace "pandas.DataFrame.replace")
* [`DataFrame.fillna()`](../reference/api/pandas.DataFrame.fillna.html#pandas.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
48e15530-bc6b-5b5c-94de-7a25d8671b02 | changelog | pandas | pandas_whatsnew | 2.2.0 | 31 | * [`DataFrame.mask()`](../reference/api/pandas.DataFrame.mask.html#pandas.DataFrame.mask "pandas.DataFrame.mask"), [`Series.mask()`](../reference/api/pandas.Series.mask.html#pandas.Series.mask "pandas.Series.mask")
* [`DataFrame.where()`](../reference/api/pandas.DataFrame.where.html#pandas.DataFrame.where "pandas.DataF... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
313f35bd-dccc-505e-8989-9ab3cde508e2 | changelog | pandas | pandas_whatsnew | 2.2.0 | 32 | Set the following option to opt into the future behavior:
```None
In [9]: pd.set_option("future.no_silent_downcasting", True)
```
### Other Deprecations[#](#other-deprecations "Link to this heading")
* Changed `Timedelta.resolution_string()` to return `h`, `min`, `s`, `ms`, `us`, and `ns` instead of `H`, `T`, `S`, `... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
b59b474e-54d9-5417-9358-d296dffab220 | changelog | pandas | pandas_whatsnew | 2.2.0 | 33 | * Deprecated [`pandas.api.types.is_interval()`](../reference/api/pandas.api.types.is_interval.html#pandas.api.types.is_interval "pandas.api.types.is_interval") and `pandas.api.types.is_period()`, use `isinstance(obj, pd.Interval)` and `isinstance(obj, pd.Period)` instead ([GH 55264](https://github.com/pandas-dev/pandas... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
0e12d67c-64f6-5b87-935a-b1b3566c0717 | changelog | pandas | pandas_whatsnew | 2.2.0 | 34 | * Deprecated [`DataFrameGroupBy.fillna()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.fillna.html#pandas.core.groupby.DataFrameGroupBy.fillna "pandas.core.groupby.DataFrameGroupBy.fillna") and [`SeriesGroupBy.fillna()`](../reference/api/pandas.core.groupby.SeriesGroupBy.fillna.html#pandas.core.groupby.Series... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
e28e7869-da54-53d6-8936-f894950d48f6 | changelog | pandas | pandas_whatsnew | 2.2.0 | 35 | * Deprecated `DateOffset.is_anchored()`, use `obj.n == 1` for non-Tick subclasses (for Tick this was always False) ([GH 55388](https://github.com/pandas-dev/pandas/issues/55388))
* Deprecated `DatetimeArray.__init__()` and `TimedeltaArray.__init__()`, use [`array()`](../reference/api/pandas.array.html#pandas.array "pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
80b9ab71-be32-5229-bf5a-b4621210f50d | changelog | pandas | pandas_whatsnew | 2.2.0 | 36 | * Deprecated [`Series.resample()`](../reference/api/pandas.Series.resample.html#pandas.Series.resample "pandas.Series.resample") and [`DataFrame.resample()`](../reference/api/pandas.DataFrame.resample.html#pandas.DataFrame.resample "pandas.DataFrame.resample") with a [`PeriodIndex`](../reference/api/pandas.PeriodIndex.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
0cd916b7-bcfd-5908-8877-47d3d46383a7 | changelog | pandas | pandas_whatsnew | 2.2.0 | 37 | * Deprecated [`Series.view()`](../reference/api/pandas.Series.view.html#pandas.Series.view "pandas.Series.view"), use [`Series.astype()`](../reference/api/pandas.Series.astype.html#pandas.Series.astype "pandas.Series.astype") instead to change the dtype ([GH 20251](https://github.com/pandas-dev/pandas/issues/20251))
* ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
49f9eb0c-432c-575c-8de9-3e4d15a4ce81 | changelog | pandas | pandas_whatsnew | 2.2.0 | 38 | * Deprecated `year`, `month`, `quarter`, `day`, `hour`, `minute`, and `second` keywords in the [`PeriodIndex`](../reference/api/pandas.PeriodIndex.html#pandas.PeriodIndex "pandas.PeriodIndex") constructor, use [`PeriodIndex.from_fields()`](../reference/api/pandas.PeriodIndex.from_fields.html#pandas.PeriodIndex.from_fie... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
6787f5d4-1243-501b-9e5f-01aa64596bb1 | changelog | pandas | pandas_whatsnew | 2.2.0 | 39 | * Deprecated allowing non-integer `periods` argument in [`date_range()`](../reference/api/pandas.date_range.html#pandas.date_range "pandas.date_range"), [`timedelta_range()`](../reference/api/pandas.timedelta_range.html#pandas.timedelta_range "pandas.timedelta_range"), [`period_range()`](../reference/api/pandas.period_... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
4a09e784-243d-5888-97b8-4290532a4106 | changelog | pandas | pandas_whatsnew | 2.2.0 | 40 | * Deprecated allowing non-keyword arguments in [`DataFrame.to_csv()`](../reference/api/pandas.DataFrame.to_csv.html#pandas.DataFrame.to_csv "pandas.DataFrame.to_csv") except `path_or_buf` ([GH 54229](https://github.com/pandas-dev/pandas/issues/54229))
* Deprecated allowing non-keyword arguments in [`DataFrame.to_dict()... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
da652d95-5d37-5716-b846-49db937a22fb | changelog | pandas | pandas_whatsnew | 2.2.0 | 41 | * Deprecated allowing non-keyword arguments in [`DataFrame.to_hdf()`](../reference/api/pandas.DataFrame.to_hdf.html#pandas.DataFrame.to_hdf "pandas.DataFrame.to_hdf") except `path_or_buf` ([GH 54229](https://github.com/pandas-dev/pandas/issues/54229))
* Deprecated allowing non-keyword arguments in [`DataFrame.to_html()... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
129c3c3f-960e-5a8d-b10d-5fe813281b4c | changelog | pandas | pandas_whatsnew | 2.2.0 | 42 | * Deprecated allowing non-keyword arguments in [`DataFrame.to_markdown()`](../reference/api/pandas.DataFrame.to_markdown.html#pandas.DataFrame.to_markdown "pandas.DataFrame.to_markdown") except `buf` ([GH 54229](https://github.com/pandas-dev/pandas/issues/54229))
* Deprecated allowing non-keyword arguments in [`DataFra... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
ff4fc8ae-fe47-51fb-9476-0006c598f501 | changelog | pandas | pandas_whatsnew | 2.2.0 | 43 | * Deprecated allowing non-keyword arguments in [`DataFrame.to_string()`](../reference/api/pandas.DataFrame.to_string.html#pandas.DataFrame.to_string "pandas.DataFrame.to_string") except `buf` ([GH 54229](https://github.com/pandas-dev/pandas/issues/54229))
* Deprecated allowing non-keyword arguments in [`DataFrame.to_xm... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
994214d4-0170-5633-9e5c-0d045037337f | changelog | pandas | pandas_whatsnew | 2.2.0 | 44 | * Deprecated behavior of [`Index.insert()`](../reference/api/pandas.Index.insert.html#pandas.Index.insert "pandas.Index.insert") with an object-dtype index silently performing type inference on the result, explicitly call `result.infer_objects(copy=False)` for the old behavior instead ([GH 51363](https://github.com/pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
8222228c-fb3b-5df8-8755-db712cfe5efe | changelog | pandas | pandas_whatsnew | 2.2.0 | 45 | * Deprecated dtype inference in [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index"), [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") and [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") constructors when giving a pandas input, ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
7708fbc8-d6a2-5fc8-a487-2b2bb9dcf830 | changelog | pandas | pandas_whatsnew | 2.2.0 | 46 | * Deprecated including the groups in computations when using [`DataFrameGroupBy.apply()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.apply.html#pandas.core.groupby.DataFrameGroupBy.apply "pandas.core.groupby.DataFrameGroupBy.apply") and [`DataFrameGroupBy.resample()`](../reference/api/pandas.core.groupby.Dat... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
c75f1301-79b0-5153-be28-1ff925d0b451 | changelog | pandas | pandas_whatsnew | 2.2.0 | 47 | * Deprecated string `AS` denoting frequency in `YearBegin` and strings `AS-DEC`, `AS-JAN`, etc. denoting annual frequencies with various fiscal year starts ([GH 54275](https://github.com/pandas-dev/pandas/issues/54275))
* Deprecated string `A` denoting frequency in `YearEnd` and strings `A-DEC`, `A-JAN`, etc. denoting ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
e6a495d4-3ae6-5c66-8ea0-12edfe3be055 | changelog | pandas | pandas_whatsnew | 2.2.0 | 48 | * Deprecated strings `H`, `BH`, and `CBH` denoting frequencies in `Hour`, `BusinessHour`, `CustomBusinessHour` ([GH 52536](https://github.com/pandas-dev/pandas/issues/52536))
* Deprecated strings `H`, `S`, `U`, and `N` denoting units in [`to_timedelta()`](../reference/api/pandas.to_timedelta.html#pandas.to_timedelta "p... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
04fb7b25-f107-5e70-bee3-2e76f56d820b | changelog | pandas | pandas_whatsnew | 2.2.0 | 49 | * Deprecated support for combining parsed datetime columns in [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") along with the `keep_date_col` keyword ([GH 55569](https://github.com/pandas-dev/pandas/issues/55569))
* Deprecated the `DataFrameGroupBy.grouper` and `SeriesGroupBy.grou... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
398dfc53-782e-5695-b910-00a65784eee5 | changelog | pandas | pandas_whatsnew | 2.2.0 | 50 | * Deprecated the `errors="ignore"` option in [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime"), [`to_timedelta()`](../reference/api/pandas.to_timedelta.html#pandas.to_timedelta "pandas.to_timedelta"), and [`to_numeric()`](../reference/api/pandas.to_numeric.html#pandas.t... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
31f6c6f0-5d93-5b1d-9e60-1117a596acc8 | changelog | pandas | pandas_whatsnew | 2.2.0 | 51 | * Deprecated the `kind` keyword in [`Series.resample()`](../reference/api/pandas.Series.resample.html#pandas.Series.resample "pandas.Series.resample") and [`DataFrame.resample()`](../reference/api/pandas.DataFrame.resample.html#pandas.DataFrame.resample "pandas.DataFrame.resample"), explicitly cast the object’s `index`... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
17152fa5-0895-5a30-b3a8-8b6add7eec92 | changelog | pandas | pandas_whatsnew | 2.2.0 | 52 | * Deprecated the `unit` keyword in [`TimedeltaIndex`](../reference/api/pandas.TimedeltaIndex.html#pandas.TimedeltaIndex "pandas.TimedeltaIndex") construction, use [`to_timedelta()`](../reference/api/pandas.to_timedelta.html#pandas.to_timedelta "pandas.to_timedelta") instead ([GH 55499](https://github.com/pandas-dev/pan... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.2.0.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.