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
800d93d5-4f8f-5aa3-9cc9-75c94bd93b5b
changelog
pandas
pandas_whatsnew
2.0.0
37
We overflow with the 7th value, but the 6th value is still correct. ### [`DataFrameGroupBy.nth()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.nth.html#pandas.core.groupby.DataFrameGroupBy.nth "pandas.core.groupby.DataFrameGroupBy.nth") and [`SeriesGroupBy.nth()`](../reference/api/pandas.core.groupby.SeriesG...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
8e556156-8fe4-5014-8562-6323ae809e4d
changelog
pandas
pandas_whatsnew
2.0.0
38
inputs `n`, they may return either zero or multiple rows per group. This means that they are filtrations, similar to e.g. [`DataFrameGroupBy.head()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.head.html#pandas.core.groupby.DataFrameGroupBy.head "pandas.core.groupby.DataFrameGroupBy.head"). pandas now treats ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
820ab5ef-44ef-5dd6-9497-9ca29123ed10
changelog
pandas
pandas_whatsnew
2.0.0
39
In [24]: gb.nth(n=3, dropna="any") Out[24]: Empty DataFrame Columns: [a, b] Index: [] ``` ## Backwards incompatible API changes[#](#backwards-incompatible-api-changes "Link to this heading") ### Construction with datetime64 or timedelta64 dtype with unsupported resolution[#](#construction-with-datetime64-or-timedelt...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
18c54ed2-37c1-57bd-8d04-3f6557ad0921
changelog
pandas
pandas_whatsnew
2.0.0
40
In pandas 2.0 we support resolutions “s”, “ms”, “us”, and “ns”. When passing a supported dtype (e.g. “datetime64[s]”), the result now has exactly the requested dtype: *New behavior*: ```None In [25]: pd.Series(["2016-01-01"], dtype="datetime64[s]") Out[25]: 0 2016-01-01 dtype: datetime64[s] ``` With an un-support...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
ea0d5406-a9db-55cf-86ce-e53e07a345af
changelog
pandas
pandas_whatsnew
2.0.0
41
590 if manager == "block": File ~/work/pandas/pandas/pandas/core/construction.py:648, in sanitize_array(data, index, dtype, copy, allow_2d) 645 subarr = np.array([], dtype=np.float64) 647 elif dtype is not None: --> 648 subarr = _try_cast(data, dtype, copy) 650 else: 651 subarr = ma...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
9310acbe-cc91-5044-a618-afd4fe26e2a9
changelog
pandas
pandas_whatsnew
2.0.0
42
1228 # TODO: _from_sequence would raise ValueError in cases where 1229 # _ensure_nanosecond_dtype raises TypeError -> 1230 _ensure_nanosecond_dtype(dtype) 1232 if lib.is_np_dtype(dtype, "m"): 1233 res = TimedeltaArray._from_sequence(value, dtype=dtype) File ~/work/pandas/pandas/pandas/core/dtypes/cast...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
20b588d8-ef60-5f59-9271-40574b035b92
changelog
pandas
pandas_whatsnew
2.0.0
43
In past versions, when running [`Series.value_counts()`](../reference/api/pandas.Series.value_counts.html#pandas.Series.value_counts "pandas.Series.value_counts"), the result would inherit the original object’s name, and the result index would be nameless. This would cause confusion when resetting the index, and the co...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
397b820d-ed90-51be-a053-eecf26e9b157
changelog
pandas
pandas_whatsnew
2.0.0
44
Likewise for other `value_counts` methods (for example, [`DataFrame.value_counts()`](../reference/api/pandas.DataFrame.value_counts.html#pandas.DataFrame.value_counts "pandas.DataFrame.value_counts")). ### Disallow astype conversion to non-supported datetime64/timedelta64 dtypes[#](#disallow-astype-conversion-to-non-s...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
c6d8742a-948e-5128-a94f-b236803f95fa
changelog
pandas
pandas_whatsnew
2.0.0
45
*Previous behavior*: ```None In [4]: ser.astype("datetime64[s]") Out[4]: 0 2016-01-01 1 2016-01-02 2 2016-01-03 dtype: datetime64[ns] ``` With the new behavior, we get exactly the requested dtype: *New behavior*: ```None In [30]: ser.astype("datetime64[s]") Out[30]: 0 2016-01-01 1 2016-01-02 2 2016-01-...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
aa115f14-8643-5644-b822-d9c89eadbbcc
changelog
pandas
pandas_whatsnew
2.0.0
46
-> 6665 new_data = self._mgr.astype(dtype=dtype, copy=copy, errors=errors) 6666 res = self._constructor_from_mgr(new_data, axes=new_data.axes) 6667 return res.__finalize__(self, method="astype") File ~/work/pandas/pandas/pandas/core/internals/managers.py:449, in BaseBlockManager.astype(self, dtype, c...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
eb2c25b3-df6c-5443-8cd2-65d0bfb0aab7
changelog
pandas
pandas_whatsnew
2.0.0
47
File ~/work/pandas/pandas/pandas/core/internals/blocks.py:784, in Block.astype(self, dtype, copy, errors, using_cow, squeeze) 781 raise ValueError("Can not squeeze with more than one column.") 782 values = values[0, :] # type: ignore[call-overload] --> 784 new_values = astype_array_safe(values, dty...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
d4994538-21eb-5616-91b2-d5076eabfe52
changelog
pandas
pandas_whatsnew
2.0.0
48
178 # i.e. ExtensionArray --> 179 values = values.astype(dtype, copy=copy) 181 else: 182 values = _astype_nansafe(values, dtype, copy=copy) File ~/work/pandas/pandas/pandas/core/arrays/datetimes.py:741, in DatetimeArray.astype(self, dtype, copy) 739 elif isinstance(dtype, PeriodDtype): ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
0c18716a-22b5-56f8-bf5b-44dfa852d3be
changelog
pandas
pandas_whatsnew
2.0.0
49
For conversion from `timedelta64[ns]` dtypes, the old behavior converted to a floating point format. *Previous behavior*: ```None In [32]: idx = pd.timedelta_range("1 Day", periods=3) In [33]: ser = pd.Series(idx) ``` *Previous behavior*: ```None In [7]: ser.astype("timedelta64[s]") Out[7]: 0 86400.0 1 1728...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
74f17890-9a5f-5a8e-8698-36bf27a5b155
changelog
pandas
pandas_whatsnew
2.0.0
50
6659 results = [ 6660 ser.astype(dtype, copy=copy, errors=errors) for _, ser in self.items() 6661 ] 6663 else: 6664 # else, only a single dtype is given -> 6665 new_data = self._mgr.astype(dtype=dtype, copy=copy, errors=errors) 6666 res = self._constructor_from_mgr(new_data...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
21838f8f-f710-50a5-b689-64571d158ae6
changelog
pandas
pandas_whatsnew
2.0.0
51
364 result_blocks = extend_blocks(applied, result_blocks) 366 out = type(self).from_blocks(result_blocks, self.axes) File ~/work/pandas/pandas/pandas/core/internals/blocks.py:784, in Block.astype(self, dtype, copy, errors, using_cow, squeeze) 781 raise ValueError("Can not squeeze with more than...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
737d50b6-8a9a-5f52-888b-a1aa7ab09dac
changelog
pandas
pandas_whatsnew
2.0.0
52
File ~/work/pandas/pandas/pandas/core/dtypes/astype.py:179, in astype_array(values, dtype, copy) 175 return values 177 if not isinstance(values, np.ndarray): 178 # i.e. ExtensionArray --> 179 values = values.astype(dtype, copy=copy) 181 else: 182 values = _astype_nansafe(values, dtyp...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
7bb32bc4-1642-5768-865e-879da74ac4ef
changelog
pandas
pandas_whatsnew
2.0.0
53
### UTC and fixed-offset timezones default to standard-library tzinfo objects[#](#utc-and-fixed-offset-timezones-default-to-standard-library-tzinfo-objects "Link to this heading") In previous versions, the default `tzinfo` object used to represent UTC was `pytz.UTC`. In pandas 2.0, we default to `datetime.timezone.utc...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
28a27a16-3fbb-505a-9291-976b700c1246
changelog
pandas
pandas_whatsnew
2.0.0
54
For timezones that are neither UTC nor fixed offsets, e.g. “US/Pacific”, we continue to default to `pytz` objects. ### Empty DataFrames/Series will now default to have a `RangeIndex`[#](#empty-dataframes-series-will-now-default-to-have-a-rangeindex "Link to this heading") Before, constructing an empty (where `data` i...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
6d491478-2a66-5fb0-a2a5-6571b6eacc0d
changelog
pandas
pandas_whatsnew
2.0.0
55
Out[9]: [Index([], dtype='object'), Index([], dtype='object')] ``` *New behavior*: ```None In [40]: pd.Series().index Out[40]: RangeIndex(start=0, stop=0, step=1) In [41]: pd.DataFrame().axes Out[41]: [RangeIndex(start=0, stop=0, step=1), RangeIndex(start=0, stop=0, step=1)] ``` ### DataFrame to LaTeX has a new ren...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
0f1ca139-36fe-5e5f-99c8-8a354774bedc
changelog
pandas
pandas_whatsnew
2.0.0
56
dependency which needs to be installed, since rendering is based upon jinja2 templates. The pandas latex options below are no longer used and have been removed. The generic max rows and columns arguments remain but for this functionality should be replaced by the Styler equivalents. The alternative options giving simi...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
4270a4cb-e2f0-5752-9050-5cec165f14b8
changelog
pandas
pandas_whatsnew
2.0.0
57
* `multirow` now defaults to *True*. * `multirow_align` defaults to *“r”* instead of *“l”*. * `multicol_align` defaults to *“r”* instead of *“l”*. * `escape` now defaults to *False*. Note that the behaviour of `_repr_latex_` is also changed. Previously setting `display.latex.repr` would generate LaTeX only when using ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
374864e8-07db-5823-840c-31fcb8cf0a4b
changelog
pandas
pandas_whatsnew
2.0.0
58
| hypothesis (dev) | 6.34.2 | | X | | python-dateutil | 2.8.2 | X | X | | tzdata | 2022.1 | X | X | For [optional libraries](https://pandas.pydata.org/docs/getting_started/install.html) the general recommendation is to use the latest version. The following table lists the lowest version per library that is currently ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
b36df572-df87-5a8d-b426-b74c7478f279
changelog
pandas
pandas_whatsnew
2.0.0
59
### Datetimes are now parsed with a consistent format[#](#datetimes-are-now-parsed-with-a-consistent-format "Link to this heading") In the past, [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") guessed the format for each element independently. This was appropriate fo...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
7b1a9352-e013-5166-aead-91ee08279484
changelog
pandas
pandas_whatsnew
2.0.0
60
Note that this affects [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") as well. If you still need to parse dates with inconsistent formats, you can use `format='mixed'` (possibly alongside `dayfirst`) ```None ser = pd.Series(['13-01-2000', '12 January 2000']) pd.to_datetime(ser...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
fca4e346-b578-56d6-bdd6-14d546650e6f
changelog
pandas
pandas_whatsnew
2.0.0
61
* Passing `nanoseconds` greater than 999 or less than 0 in [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") now raises a `ValueError` ([GH 48538](https://github.com/pandas-dev/pandas/issues/48538), [GH 48255](https://github.com/pandas-dev/pandas/issues/48255)) * [`read_csv()`](....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
1660495d-afa0-52d8-bb78-10dd14049741
changelog
pandas
pandas_whatsnew
2.0.0
62
* [`DataFrame.astype()`](../reference/api/pandas.DataFrame.astype.html#pandas.DataFrame.astype "pandas.DataFrame.astype"), [`Series.astype()`](../reference/api/pandas.Series.astype.html#pandas.Series.astype "pandas.Series.astype"), and `DatetimeIndex.astype()` casting datetime64 data to any of “datetime64[s]”, “datetim...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
bbc93fa2-009b-51ae-aac5-a1b956a0a593
changelog
pandas
pandas_whatsnew
2.0.0
63
* `DatetimeIndex.astype()`, `TimedeltaIndex.astype()`, `PeriodIndex.astype()` [`Series.astype()`](../reference/api/pandas.Series.astype.html#pandas.Series.astype "pandas.Series.astype"), [`DataFrame.astype()`](../reference/api/pandas.DataFrame.astype.html#pandas.DataFrame.astype "pandas.DataFrame.astype") with `datetim...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
aac44f20-e7b6-5bd0-aea0-e61440229696
changelog
pandas
pandas_whatsnew
2.0.0
64
* Passing data with dtype of “timedelta64[s]”, “timedelta64[ms]”, or “timedelta64[us]” to [`TimedeltaIndex`](../reference/api/pandas.TimedeltaIndex.html#pandas.TimedeltaIndex "pandas.TimedeltaIndex"), [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series"), or [`DataFrame`](../reference/api/pandas...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
1f199dd1-7519-51f0-beb5-5921494c16b8
changelog
pandas
pandas_whatsnew
2.0.0
65
* Passing `dtype` of “timedelta64[s]”, “timedelta64[ms]”, or “timedelta64[us]” to [`TimedeltaIndex`](../reference/api/pandas.TimedeltaIndex.html#pandas.TimedeltaIndex "pandas.TimedeltaIndex"), [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series"), or [`DataFrame`](../reference/api/pandas.DataFra...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
81712623-4c7f-5c91-be7d-75eca1281507
changelog
pandas
pandas_whatsnew
2.0.0
66
* Passing a `np.datetime64` object with non-nanosecond resolution to [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") will retain the input resolution if it is “s”, “ms”, “us”, or “ns”; otherwise it will be cast to the closest supported resolution ([GH 49008](https://github.com/...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
00e85dcc-0766-5e2b-a496-273d210c1661
changelog
pandas
pandas_whatsnew
2.0.0
67
* Passing integer values and a non-nanosecond datetime64 dtype (e.g. “datetime64[s]”) [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame"), [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series"), or [`Index`](../reference/api/pandas.Index.html#pandas.Index "pa...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
66cf3251-bdaa-5b0b-a647-12c2a69eec29
changelog
pandas
pandas_whatsnew
2.0.0
68
* The `other` argument in [`DataFrame.mask()`](../reference/api/pandas.DataFrame.mask.html#pandas.DataFrame.mask "pandas.DataFrame.mask") and [`Series.mask()`](../reference/api/pandas.Series.mask.html#pandas.Series.mask "pandas.Series.mask") now defaults to `no_default` instead of `np.nan` consistent with [`DataFrame.w...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
6b1ced93-33e3-5b1f-84c0-febfb46f2445
changelog
pandas
pandas_whatsnew
2.0.0
69
* Changed behavior of [`Series.quantile()`](../reference/api/pandas.Series.quantile.html#pandas.Series.quantile "pandas.Series.quantile") and [`DataFrame.quantile()`](../reference/api/pandas.DataFrame.quantile.html#pandas.DataFrame.quantile "pandas.DataFrame.quantile") with [`SparseDtype`](../reference/api/pandas.Spars...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
d80fd6c1-24ee-5faf-92ee-5e000134fe99
changelog
pandas
pandas_whatsnew
2.0.0
70
* [`pandas.testing.assert_index_equal()`](../reference/api/pandas.testing.assert_index_equal.html#pandas.testing.assert_index_equal "pandas.testing.assert_index_equal") with parameter `exact="equiv"` now considers two indexes equal when both are either a [`RangeIndex`](../reference/api/pandas.RangeIndex.html#pandas.Ran...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
df9f684b-883c-53fa-a1fc-8ceb70ce3979
changelog
pandas
pandas_whatsnew
2.0.0
71
* [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") and [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") now allow sequences containing both `datetime` objects and numeric entries, matching [`Series`](../reference...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
ee350976-86e1-53c5-bc1c-16f37719505e
changelog
pandas
pandas_whatsnew
2.0.0
72
* Passing a sequence containing `datetime` objects and `date` objects to [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") constructor will return with `object` dtype instead of `datetime64[ns]` dtype, consistent with [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
9b00e591-0234-5c5a-a824-06289dcb4cb4
changelog
pandas
pandas_whatsnew
2.0.0
73
* Passing a sequence containing a type that cannot be converted to [`Timedelta`](../reference/api/pandas.Timedelta.html#pandas.Timedelta "pandas.Timedelta") to [`to_timedelta()`](../reference/api/pandas.to_timedelta.html#pandas.to_timedelta "pandas.to_timedelta") or to the [`Series`](../reference/api/pandas.Series.html...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
e92d0237-2bb4-5b8e-8cb7-a676c18f38a4
changelog
pandas
pandas_whatsnew
2.0.0
74
* Changed behavior of [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") constructor with sequence containing at least one `NaT` and everything else either `None` or `NaN` to infer `datetime64[ns]` dtype instead of `object`, matching [`Series`](../reference/api/pandas.Series.html#pandas.Series "p...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
6dc4e171-2145-5cff-a6d6-5cb8fd0ace12
changelog
pandas
pandas_whatsnew
2.0.0
75
* Changed behavior of [`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") arithmetic methods when working with object-dtypes...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
ba65a592-4c4b-544b-acd5-1b4b17089eae
changelog
pandas
pandas_whatsnew
2.0.0
76
* Changed behavior of [`Series.astype()`](../reference/api/pandas.Series.astype.html#pandas.Series.astype "pandas.Series.astype") from object-dtype containing `bytes` objects to string dtypes; this now does `val.decode()` on bytes objects instead of `str(val)`, matching [`Index.astype()`](../reference/api/pandas.Index....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
ee4a54fa-fbb8-5aa7-b67a-b040f22fa985
changelog
pandas
pandas_whatsnew
2.0.0
77
* Changed behavior of [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") and [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") constructors when given an integer dtype and floating-point data that is not round numbers, this now raises `ValueError` inste...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
3c45efa0-8b5d-545c-8d0c-6e2f9e271043
changelog
pandas
pandas_whatsnew
2.0.0
78
* Files are now closed when encountering an exception in [`read_json()`](../reference/api/pandas.read_json.html#pandas.read_json "pandas.read_json") ([GH 49921](https://github.com/pandas-dev/pandas/issues/49921)) * Changed behavior of [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
9b65104a-f104-538a-8ba8-02e838d37f1b
changelog
pandas
pandas_whatsnew
2.0.0
79
* [`DataFrame.values()`](../reference/api/pandas.DataFrame.values.html#pandas.DataFrame.values "pandas.DataFrame.values"), [`DataFrame.to_numpy()`](../reference/api/pandas.DataFrame.to_numpy.html#pandas.DataFrame.to_numpy "pandas.DataFrame.to_numpy"), [`DataFrame.xs()`](../reference/api/pandas.DataFrame.xs.html#pandas....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
6ea9475e-fcc1-5dd0-a9e9-41476d27ad82
changelog
pandas
pandas_whatsnew
2.0.0
80
* Creating a new DataFrame using a full slice on both axes with [`loc`](../reference/api/pandas.DataFrame.loc.html#pandas.DataFrame.loc "pandas.DataFrame.loc") or [`iloc`](../reference/api/pandas.DataFrame.iloc.html#pandas.DataFrame.iloc "pandas.DataFrame.iloc") (thus, `df.loc[:, :]` or `df.iloc[:, :]`) now returns a...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
445fa8dd-8ddf-586b-beb1-192a9ee57035
changelog
pandas
pandas_whatsnew
2.0.0
81
`df.index = ...` would also update the index of the parent or child) ([GH 49523](https://github.com/pandas-dev/pandas/issues/49523)) * Disallow computing `cumprod` for [`Timedelta`](../reference/api/pandas.Timedelta.html#pandas.Timedelta "pandas.Timedelta") object; previously this returned incorrect values ([GH 50246...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
599b1c8e-f685-5ad5-b777-b6f103f41151
changelog
pandas
pandas_whatsnew
2.0.0
82
* Instantiating an [`Index`](../reference/api/pandas.Index.html#pandas.Index "pandas.Index") with an numeric numpy dtype with data containing [`NA`](../reference/api/pandas.NA.html#pandas.NA "pandas.NA") and/or [`NaT`](../reference/api/pandas.NaT.html#pandas.NaT "pandas.NaT") now raises a `ValueError`. Previously a `Ty...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
2ceb4082-a1ff-5226-bb03-841d6c438d43
changelog
pandas
pandas_whatsnew
2.0.0
83
* [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") with `unit` of either “Y” or “M” will now raise if a sequence contains a non-round `float` value, matching the `Timestamp` behavior ([GH 50301](https://github.com/pandas-dev/pandas/issues/50301))
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
8fd712a1-a6bb-5f60-89d2-608148d5e103
changelog
pandas
pandas_whatsnew
2.0.0
84
* The methods [`Series.round()`](../reference/api/pandas.Series.round.html#pandas.Series.round "pandas.Series.round"), `DataFrame.__invert__()`, `Series.__invert__()`, [`DataFrame.swapaxes()`](../reference/api/pandas.DataFrame.swapaxes.html#pandas.DataFrame.swapaxes "pandas.DataFrame.swapaxes"), [`DataFrame.first()`](....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
747a0edc-8564-5b0b-82ca-2493a94664de
changelog
pandas
pandas_whatsnew
2.0.0
85
* [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") and `DataFrameGroupBy` aggregations (e.g. “sum”) with object-dtype columns no longer infer non-object dtypes for their results, explicitly call `result.infer_objects(copy=False)` on the result to obtain the old behavior ([GH 512...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
b703265c-3538-54ac-8106-1297eb5c8f66
changelog
pandas
pandas_whatsnew
2.0.0
86
* `value_counts()` now returns data with [`ArrowDtype`](../reference/api/pandas.ArrowDtype.html#pandas.ArrowDtype "pandas.ArrowDtype") with `pyarrow.int64` type instead of `"Int64"` type ([GH 51462](https://github.com/pandas-dev/pandas/issues/51462)) * [`factorize()`](../reference/api/pandas.factorize.html#pandas.facto...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
fd65375a-dc29-5fb1-91e4-9ddf9a0897f7
changelog
pandas
pandas_whatsnew
2.0.0
87
keywords would be deprecated in the next release of pandas and removed in pandas 3.0. ## Deprecations[#](#deprecations "Link to this heading") * Deprecated parsing datetime strings with system-local timezone to `tzlocal`, pass a `tz` keyword or explicitly call `tz_localize` instead ([GH 50791](https://github.com/pand...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
0febea9e-1b63-5eed-80a3-eea1ac4d8770
changelog
pandas
pandas_whatsnew
2.0.0
88
* Deprecated behavior of [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") with `unit` when parsing strings, in a future version these will be parsed as datetimes (matching unit-less behavior) instead of cast to floats. To retain the old behavior, cast strings to numeri...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
7ea60e4c-97b1-52d3-a1cb-4227b08ad0bb
changelog
pandas
pandas_whatsnew
2.0.0
89
* [`Index.is_integer()`](../reference/api/pandas.Index.is_integer.html#pandas.Index.is_integer "pandas.Index.is_integer") has been deprecated. Use [`pandas.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") instea...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
cc7e8ef5-385f-5bf5-bf3e-eb740d38a5ec
changelog
pandas
pandas_whatsnew
2.0.0
90
* `Index.holds_integer()` has been deprecated. Use [`pandas.api.types.infer_dtype()`](../reference/api/pandas.api.types.infer_dtype.html#pandas.api.types.infer_dtype "pandas.api.types.infer_dtype") instead ([GH 50243](https://github.com/pandas-dev/pandas/issues/50243)) * [`Index.is_numeric()`](../reference/api/pandas.I...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
b0bf4676-1cb3-5f2f-80be-b9f5c1b7ffa7
changelog
pandas
pandas_whatsnew
2.0.0
91
* [`Index.is_categorical()`](../reference/api/pandas.Index.is_categorical.html#pandas.Index.is_categorical "pandas.Index.is_categorical") has been deprecated. Use [`pandas.api.types.is_categorical_dtype()`](../reference/api/pandas.api.types.is_categorical_dtype.html#pandas.api.types.is_categorical_dtype "pandas.api.typ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
77aa9168-e112-5892-a36d-aca20cbdbfca
changelog
pandas
pandas_whatsnew
2.0.0
92
* [`Index.is_interval()`](../reference/api/pandas.Index.is_interval.html#pandas.Index.is_interval "pandas.Index.is_interval") has been deprecated. Use [`pandas.api.types.is_interval_dtype()`](../reference/api/pandas.api.types.is_interval_dtype.html#pandas.api.types.is_interval_dtype "pandas.api.types.is_interval_dtype"...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
9bbd92b9-3ec0-556c-b5d9-828878ce5981
changelog
pandas
pandas_whatsnew
2.0.0
93
* Deprecated `all` and `any` reductions with `datetime64` and [`DatetimeTZDtype`](../reference/api/pandas.DatetimeTZDtype.html#pandas.DatetimeTZDtype "pandas.DatetimeTZDtype") dtypes, use e.g. `(obj != pd.Timestamp(0), tz=obj.tz).all()` instead ([GH 34479](https://github.com/pandas-dev/pandas/issues/34479)) * Deprecate...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
eebd4bd4-d521-5259-8fdb-7df79d7eef0d
changelog
pandas
pandas_whatsnew
2.0.0
94
* Deprecated `Grouper.obj()`, use `Groupby.obj()` instead ([GH 51206](https://github.com/pandas-dev/pandas/issues/51206)) * Deprecated `Grouper.indexer()`, use `Resampler.indexer()` instead ([GH 51206](https://github.com/pandas-dev/pandas/issues/51206)) * Deprecated `Grouper.ax()`, use `Resampler.ax()` instead ([GH 512...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
419bc421-a4b1-5a0c-8de1-489ca9d6959c
changelog
pandas
pandas_whatsnew
2.0.0
95
* Deprecated [`Series.backfill()`](../reference/api/pandas.Series.backfill.html#pandas.Series.backfill "pandas.Series.backfill") in favor of [`Series.bfill()`](../reference/api/pandas.Series.bfill.html#pandas.Series.bfill "pandas.Series.bfill") ([GH 33396](https://github.com/pandas-dev/pandas/issues/33396)) * Deprecate...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
8e3bc72b-d353-57d7-b4b4-5727154c3815
changelog
pandas
pandas_whatsnew
2.0.0
96
* Deprecated `close()`. Use `StataReader` as a context manager instead ([GH 49228](https://github.com/pandas-dev/pandas/issues/49228)) * Deprecated producing a scalar when iterating over a `DataFrameGroupBy` or a `SeriesGroupBy` that has been grouped by a `level` parameter that is a list of length 1; a tuple of length ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
4fce19da-c549-5425-a521-dcc09a5d6028
changelog
pandas
pandas_whatsnew
2.0.0
97
* Removed deprecated `Timestamp.freq`, `Timestamp.freqstr` and argument `freq` from the [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") constructor and [`Timestamp.fromordinal()`](../reference/api/pandas.Timestamp.fromordinal.html#pandas.Timestamp.fromordinal "pandas.Timestamp....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
def0ed24-3939-5011-b157-af2f22fa93de
changelog
pandas
pandas_whatsnew
2.0.0
98
* Removed deprecated global option `use_inf_as_null` in favor of `use_inf_as_na` ([GH 17126](https://github.com/pandas-dev/pandas/issues/17126)) * Removed deprecated module `pandas.core.index` ([GH 30193](https://github.com/pandas-dev/pandas/issues/30193)) * Removed deprecated alias `pandas.core.tools.datetimes.to_time...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
92416f4c-377d-55a8-a55c-2b9f09c9179d
changelog
pandas
pandas_whatsnew
2.0.0
99
* Removed deprecated `Categorical.mode()`, use `Series(cat).mode()` instead ([GH 45033](https://github.com/pandas-dev/pandas/issues/45033)) * Removed deprecated `Categorical.is_dtype_equal()` and `CategoricalIndex.is_dtype_equal()` ([GH 37545](https://github.com/pandas-dev/pandas/issues/37545)) * Removed deprecated `Ca...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
a955ce34-c47e-5cf8-950b-b2f79d79e12d
changelog
pandas
pandas_whatsnew
2.0.0
100
* Removed deprecated `Index.asi8()` ([GH 37877](https://github.com/pandas-dev/pandas/issues/37877)) * Enforced deprecation changing behavior when passing `datetime64[ns]` dtype data and timezone-aware dtype to [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series"), interpreting the values as wall...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
43cabb67-714b-5014-9920-c4a1cfe09ae7
changelog
pandas
pandas_whatsnew
2.0.0
101
* Removed deprecated `DataFrame._AXIS_NUMBERS()`, `DataFrame._AXIS_NAMES()`, `Series._AXIS_NUMBERS()`, `Series._AXIS_NAMES()` ([GH 33637](https://github.com/pandas-dev/pandas/issues/33637)) * Removed deprecated `Index.to_native_types()`, use `obj.astype(str)` instead ([GH 36418](https://github.com/pandas-dev/pandas/iss...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
465688ae-df79-58a3-ac69-0ae93187c37e
changelog
pandas
pandas_whatsnew
2.0.0
102
* Removed deprecated `DatetimeIndex.union_many()` ([GH 45018](https://github.com/pandas-dev/pandas/issues/45018)) * Removed deprecated `weekofyear` and `week` attributes of `DatetimeArray`, [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") and `dt` accessor in fav...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
69f3bf3d-70f2-555f-b707-541580a1536b
changelog
pandas
pandas_whatsnew
2.0.0
103
* Removed deprecated `Styler.set_na_rep()` and `Styler.set_precision()` ([GH 49397](https://github.com/pandas-dev/pandas/issues/49397)) * Removed deprecated `Styler.where()` ([GH 49397](https://github.com/pandas-dev/pandas/issues/49397)) * Removed deprecated `Styler.render()` ([GH 49397](https://github.com/pandas-dev/p...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
7e006c29-d944-5730-aa0e-08a9c0ac451d
changelog
pandas
pandas_whatsnew
2.0.0
104
* Removed deprecated argument `check_less_precise` in `testing.assert_frame_equal()`, `testing.assert_extension_array_equal()`, `testing.assert_series_equal()`, `testing.assert_index_equal()` ([GH 30562](https://github.com/pandas-dev/pandas/issues/30562)) * Removed deprecated `null_counts` argument in [`DataFrame.info(...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
6865fb09-320f-58df-859d-2bc44d0af20b
changelog
pandas
pandas_whatsnew
2.0.0
105
* Enforced deprecation disallowing passing a timezone-aware [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") and `dtype="datetime64[ns]"` to [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") or [`DataFrame`](../reference/api/pandas.DataFrame.html#pand...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
1cfcbb2c-bc3d-502a-87b1-6eadf97c7cfb
changelog
pandas
pandas_whatsnew
2.0.0
106
* Enforced deprecation disallowing `numpy.ma.mrecords.MaskedRecords` in the [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") constructor; pass `"{name: data[name] for name in data.dtype.names}` instead ([GH 40363](https://github.com/pandas-dev/pandas/issues/40363)) * Enforced de...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
96c19bb4-8c86-5b20-9596-4fc70faab6cc
changelog
pandas
pandas_whatsnew
2.0.0
107
* Enforced deprecation disallowing using `.astype` to convert a `datetime64[ns]` [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series"), [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame"), or [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#panda...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
76756ec3-f4fc-559c-a05e-bd7c9826ebef
changelog
pandas
pandas_whatsnew
2.0.0
108
* Enforced deprecation disallowing using `.astype` to convert a timezone-aware [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series"), [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame"), or [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
0642c034-3a49-59ac-8d34-9ead239cc67e
changelog
pandas
pandas_whatsnew
2.0.0
109
* Removed argument `index` from the `core.arrays.SparseArray` constructor ([GH 43523](https://github.com/pandas-dev/pandas/issues/43523)) * Remove argument `squeeze` from [`DataFrame.groupby()`](../reference/api/pandas.DataFrame.groupby.html#pandas.DataFrame.groupby "pandas.DataFrame.groupby") and [`Series.groupby()`](...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
ed23232b-f735-5483-a957-b36df496051d
changelog
pandas
pandas_whatsnew
2.0.0
110
* Remove arguments `names` and `dtype` from [`Index.copy()`](../reference/api/pandas.Index.copy.html#pandas.Index.copy "pandas.Index.copy") and `levels` and `codes` from [`MultiIndex.copy()`](../reference/api/pandas.MultiIndex.copy.html#pandas.MultiIndex.copy "pandas.MultiIndex.copy") ([GH 35853](https://github.com/pan...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
67332329-94a4-56de-9dd5-1a400435b08f
changelog
pandas
pandas_whatsnew
2.0.0
111
* Removed arguments `verbose` and `encoding` from [`DataFrame.to_excel()`](../reference/api/pandas.DataFrame.to_excel.html#pandas.DataFrame.to_excel "pandas.DataFrame.to_excel") and [`Series.to_excel()`](../reference/api/pandas.Series.to_excel.html#pandas.Series.to_excel "pandas.Series.to_excel") ([GH 47912](https://gi...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
c13ea411-aeea-5f7c-8765-8178c33b6861
changelog
pandas
pandas_whatsnew
2.0.0
112
* Removed argument `inplace` from [`DataFrame.set_axis()`](../reference/api/pandas.DataFrame.set_axis.html#pandas.DataFrame.set_axis "pandas.DataFrame.set_axis") and [`Series.set_axis()`](../reference/api/pandas.Series.set_axis.html#pandas.Series.set_axis "pandas.Series.set_axis"), use `obj = obj.set_axis(..., copy=Fal...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
66a54e73-3358-50e5-9d72-1ee594f36610
changelog
pandas
pandas_whatsnew
2.0.0
113
* Removed `MultiIndex.is_lexsorted()` and `MultiIndex.lexsort_depth()` ([GH 38701](https://github.com/pandas-dev/pandas/issues/38701)) * Removed argument `how` from `PeriodIndex.astype()`, use [`PeriodIndex.to_timestamp()`](../reference/api/pandas.PeriodIndex.to_timestamp.html#pandas.PeriodIndex.to_timestamp "pandas.Pe...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
9185a6ea-b346-5fb2-a535-41a0e921a872
changelog
pandas
pandas_whatsnew
2.0.0
114
* Removed argument `tz` from [`Period.to_timestamp()`](../reference/api/pandas.Period.to_timestamp.html#pandas.Period.to_timestamp "pandas.Period.to_timestamp"), use `obj.to_timestamp(...).tz_localize(tz)` instead ([GH 34522](https://github.com/pandas-dev/pandas/issues/34522)) * Removed argument `sort_columns` in [`Dat...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
8cfa8b9c-51ab-50e0-8066-e38f14ce79c7
changelog
pandas
pandas_whatsnew
2.0.0
115
* Removed argument `kind` from [`Index.get_slice_bound()`](../reference/api/pandas.Index.get_slice_bound.html#pandas.Index.get_slice_bound "pandas.Index.get_slice_bound"), [`Index.slice_indexer()`](../reference/api/pandas.Index.slice_indexer.html#pandas.Index.slice_indexer "pandas.Index.slice_indexer") and [`Index.slic...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
0e3fb76c-efe4-5464-b2f5-8cf2328dd6da
changelog
pandas
pandas_whatsnew
2.0.0
116
* Removed argument `datetime_is_numeric` from [`DataFrame.describe()`](../reference/api/pandas.DataFrame.describe.html#pandas.DataFrame.describe "pandas.DataFrame.describe") and [`Series.describe()`](../reference/api/pandas.Series.describe.html#pandas.Series.describe "pandas.Series.describe") as datetime data will alwa...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
03f8f532-32b5-5ff2-8563-50eedc8c2f57
changelog
pandas
pandas_whatsnew
2.0.0
117
* Removed argument `inplace` from `Categorical.remove_unused_categories()` ([GH 37918](https://github.com/pandas-dev/pandas/issues/37918)) * Disallow passing non-round floats to [`Timestamp`](../reference/api/pandas.Timestamp.html#pandas.Timestamp "pandas.Timestamp") with `unit="M"` or `unit="Y"` ([GH 47266](https://gi...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
5d4a7261-107d-5c45-802c-01766924b60a
changelog
pandas
pandas_whatsnew
2.0.0
118
* Removed `errors` keyword from [`DataFrame.where()`](../reference/api/pandas.DataFrame.where.html#pandas.DataFrame.where "pandas.DataFrame.where"), [`Series.where()`](../reference/api/pandas.Series.where.html#pandas.Series.where "pandas.Series.where"), [`DataFrame.mask()`](../reference/api/pandas.DataFrame.mask.html#p...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
41bf53d2-1899-53a3-b18d-69614c4d645e
changelog
pandas
pandas_whatsnew
2.0.0
119
* Disallow passing non-keyword arguments to [`DataFrame.drop()`](../reference/api/pandas.DataFrame.drop.html#pandas.DataFrame.drop "pandas.DataFrame.drop") and [`Series.drop()`](../reference/api/pandas.Series.drop.html#pandas.Series.drop "pandas.Series.drop") except `labels` ([GH 41486](https://github.com/pandas-dev/pa...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
7fa7c6dc-edf1-5da4-b27f-15c2546dc441
changelog
pandas
pandas_whatsnew
2.0.0
120
* Disallow passing non-keyword arguments to [`DataFrame.set_index()`](../reference/api/pandas.DataFrame.set_index.html#pandas.DataFrame.set_index "pandas.DataFrame.set_index") except `keys` ([GH 41495](https://github.com/pandas-dev/pandas/issues/41495)) * Disallow passing non-keyword arguments to `Resampler.interpolate...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
507fec1d-9944-548e-8a76-7542c0279b47
changelog
pandas
pandas_whatsnew
2.0.0
121
* Disallow passing non-keyword arguments to [`DataFrame.dropna()`](../reference/api/pandas.DataFrame.dropna.html#pandas.DataFrame.dropna "pandas.DataFrame.dropna") and [`Series.dropna()`](../reference/api/pandas.Series.dropna.html#pandas.Series.dropna "pandas.Series.dropna") ([GH 41504](https://github.com/pandas-dev/pa...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
2e050f36-e523-5cfc-b6cf-e9e48d055f72
changelog
pandas
pandas_whatsnew
2.0.0
122
* Disallow passing non-keyword arguments to [`DataFrame.drop_duplicates()`](../reference/api/pandas.DataFrame.drop_duplicates.html#pandas.DataFrame.drop_duplicates "pandas.DataFrame.drop_duplicates") except for `subset` ([GH 41485](https://github.com/pandas-dev/pandas/issues/41485)) * Disallow passing non-keyword argum...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
0295824e-07d4-5261-843c-8908f962c060
changelog
pandas
pandas_whatsnew
2.0.0
123
* Disallow passing non-keyword arguments to [`DataFrame.interpolate()`](../reference/api/pandas.DataFrame.interpolate.html#pandas.DataFrame.interpolate "pandas.DataFrame.interpolate") and [`Series.interpolate()`](../reference/api/pandas.Series.interpolate.html#pandas.Series.interpolate "pandas.Series.interpolate") exce...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
ef441d6b-aa33-595a-866a-f1a3bc1087b8
changelog
pandas
pandas_whatsnew
2.0.0
124
* Disallow passing non-keyword arguments to [`Index.join()`](../reference/api/pandas.Index.join.html#pandas.Index.join "pandas.Index.join") except for `other` ([GH 46518](https://github.com/pandas-dev/pandas/issues/46518)) * Disallow passing non-keyword arguments to [`concat()`](../reference/api/pandas.concat.html#pand...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
ffba1f25-2af9-5ffb-b906-6cda5146e1bd
changelog
pandas
pandas_whatsnew
2.0.0
125
* Disallow passing non-keyword arguments to [`read_html()`](../reference/api/pandas.read_html.html#pandas.read_html "pandas.read_html") except for `io` ([GH 27573](https://github.com/pandas-dev/pandas/issues/27573)) * Disallow passing non-keyword arguments to [`read_json()`](../reference/api/pandas.read_json.html#panda...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
9b48a701-084b-5be7-a5bc-2c6aedb6e71b
changelog
pandas
pandas_whatsnew
2.0.0
126
* Disallow passing non-keyword arguments to [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") except `filepath_or_buffer` ([GH 41485](https://github.com/pandas-dev/pandas/issues/41485)) * Disallow passing non-keyword arguments to [`read_table()`](../reference/api/pandas.read_table....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
17b9393c-8cfa-53d1-88e8-cc3b04a69327
changelog
pandas
pandas_whatsnew
2.0.0
127
* Disallow passing non-keyword arguments to [`Series.mask()`](../reference/api/pandas.Series.mask.html#pandas.Series.mask "pandas.Series.mask") and [`DataFrame.mask()`](../reference/api/pandas.DataFrame.mask.html#pandas.DataFrame.mask "pandas.DataFrame.mask") except `cond` and `other` ([GH 41580](https://github.com/pan...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
69fd6a8a-febe-5a05-a3c7-4e37745995e9
changelog
pandas
pandas_whatsnew
2.0.0
128
* Disallow passing non-keyword arguments to [`Series.set_axis()`](../reference/api/pandas.Series.set_axis.html#pandas.Series.set_axis "pandas.Series.set_axis") and [`DataFrame.set_axis()`](../reference/api/pandas.DataFrame.set_axis.html#pandas.DataFrame.set_axis "pandas.DataFrame.set_axis") except for `labels` ([GH 414...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
80a9af4f-8899-5f3e-8563-685ad78cf1df
changelog
pandas
pandas_whatsnew
2.0.0
129
* Disallow passing non-keyword arguments to [`Series.clip()`](../reference/api/pandas.Series.clip.html#pandas.Series.clip "pandas.Series.clip") and [`DataFrame.clip()`](../reference/api/pandas.DataFrame.clip.html#pandas.DataFrame.clip "pandas.DataFrame.clip") except `lower` and `upper` ([GH 41511](https://github.com/pa...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
62fd8cce-e29f-5315-a16b-3b15012f4dec
changelog
pandas
pandas_whatsnew
2.0.0
130
* Disallow passing non-keyword arguments to [`DataFrame.replace()`](../reference/api/pandas.DataFrame.replace.html#pandas.DataFrame.replace "pandas.DataFrame.replace"), [`Series.replace()`](../reference/api/pandas.Series.replace.html#pandas.Series.replace "pandas.Series.replace") except for `to_replace` and `value` ([G...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
fbf01e76-6ea5-5620-b927-1e66c5b2b652
changelog
pandas
pandas_whatsnew
2.0.0
131
* Disallow passing non-keyword arguments to [`DataFrame.reindex()`](../reference/api/pandas.DataFrame.reindex.html#pandas.DataFrame.reindex "pandas.DataFrame.reindex") except for `labels` ([GH 17966](https://github.com/pandas-dev/pandas/issues/17966)) * Disallow [`Index.reindex()`](../reference/api/pandas.Index.reindex...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
41f21866-1238-5e05-93bf-25e3a7bd0364
changelog
pandas
pandas_whatsnew
2.0.0
132
* Removed `Rolling.validate()`, `Expanding.validate()`, and `ExponentialMovingWindow.validate()` ([GH 43665](https://github.com/pandas-dev/pandas/issues/43665)) * Removed `Rolling.win_type` returning `"freq"` ([GH 38963](https://github.com/pandas-dev/pandas/issues/38963)) * Removed `Rolling.is_datetimelike` ([GH 38963]...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
6e9241b7-6020-52c1-9c32-a145d1bfccfa
changelog
pandas
pandas_whatsnew
2.0.0
133
* Removed deprecated `Categorical.replace()`, use [`Series.replace()`](../reference/api/pandas.Series.replace.html#pandas.Series.replace "pandas.Series.replace") instead ([GH 44929](https://github.com/pandas-dev/pandas/issues/44929)) * Removed the `numeric_only` keyword from `Categorical.min()` and `Categorical.max()` ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
11f77267-764f-5be5-8766-6e1700824791
changelog
pandas
pandas_whatsnew
2.0.0
134
* Removed `.ExponentialMovingWindow.vol` ([GH 39220](https://github.com/pandas-dev/pandas/issues/39220)) * Removed `Index.get_value()` and `Index.set_value()` ([GH 33907](https://github.com/pandas-dev/pandas/issues/33907), [GH 28621](https://github.com/pandas-dev/pandas/issues/28621)) * Removed `Series.slice_shift()` a...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
6159c305-6e26-5721-a400-9637b9c8a1dc
changelog
pandas
pandas_whatsnew
2.0.0
135
* Disallow partial slicing on an non-monotonic [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") with keys which are not in Index. This now raises a `KeyError` ([GH 18531](https://github.com/pandas-dev/pandas/issues/18531)) * Removed `get_offset` in favor of `to_o...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md
1fab8b70-df14-5f47-a9f7-38ef6ed547f0
changelog
pandas
pandas_whatsnew
2.0.0
136
* Removed the `closed` argument in [`date_range()`](../reference/api/pandas.date_range.html#pandas.date_range "pandas.date_range") and [`bdate_range()`](../reference/api/pandas.bdate_range.html#pandas.bdate_range "pandas.bdate_range") in favor of `inclusive` argument ([GH 40245](https://github.com/pandas-dev/pandas/iss...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_2.0.0.md