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 |
|---|---|---|---|---|---|---|---|
bcf7cad2-f094-5e7c-832d-66c7f28fc625 | changelog | pandas | pandas_whatsnew | 0.24.0 | 171 | * Bug in the `IntervalIndex` repr where a trailing comma was missing after the list of intervals ([GH 20611](https://github.com/pandas-dev/pandas/issues/20611))
* Bug in [`Interval`](../reference/api/pandas.Interval.html#pandas.Interval "pandas.Interval") where scalar arithmetic operations did not retain the `closed` v... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
f4ec6ba1-f93e-5f39-9e88-e8972b3cdbb1 | changelog | pandas | pandas_whatsnew | 0.24.0 | 172 | ### Indexing[#](#indexing "Link to this heading")
* Bug in [`DataFrame.ne()`](../reference/api/pandas.DataFrame.ne.html#pandas.DataFrame.ne "pandas.DataFrame.ne") fails if columns contain column name “dtype” ([GH 22383](https://github.com/pandas-dev/pandas/issues/22383))
* The traceback from a `KeyError` when asking `... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
5bcfcb21-cd89-5579-b5f3-88ef6a33c50b | changelog | pandas | pandas_whatsnew | 0.24.0 | 173 | * When `.ix` is asked for a missing integer label in a [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") with a first level of integer type, it now raises a `KeyError`, consistently with the case of a flat `Int64Index`, rather than falling back to positional indexing ([GH 215... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
08103d8f-fadc-595b-98a9-f55aeeb46791 | changelog | pandas | pandas_whatsnew | 0.24.0 | 174 | * Bug in [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") when setting values with `.loc` and a timezone aware [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") ([GH 11365](https://github.com/pandas-dev/pandas/issues/11365)... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
a0caba83-170a-5853-b70e-eb6e48e0bc25 | changelog | pandas | pandas_whatsnew | 0.24.0 | 175 | * Bug where indexing with a Numpy array containing negative values would mutate the indexer ([GH 21867](https://github.com/pandas-dev/pandas/issues/21867))
* Bug where mixed indexes wouldn’t allow integers for `.at` ([GH 19860](https://github.com/pandas-dev/pandas/issues/19860))
* `Float64Index.get_loc` now raises `Key... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
6177dbe8-0687-5163-8aeb-6961fe9991bb | changelog | pandas | pandas_whatsnew | 0.24.0 | 176 | * Bug in `scalar in Index` if scalar is a float while the `Index` is of integer dtype ([GH 22085](https://github.com/pandas-dev/pandas/issues/22085))
* Bug in [`MultiIndex.set_levels()`](../reference/api/pandas.MultiIndex.set_levels.html#pandas.MultiIndex.set_levels "pandas.MultiIndex.set_levels") when levels value is ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
400091a5-d4e0-54cd-8d8b-3782d682803f | changelog | pandas | pandas_whatsnew | 0.24.0 | 177 | * Bug in [`Index.union()`](../reference/api/pandas.Index.union.html#pandas.Index.union "pandas.Index.union") and [`Index.intersection()`](../reference/api/pandas.Index.intersection.html#pandas.Index.intersection "pandas.Index.intersection") where name of the `Index` of the result was not computed correctly for certain ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
3def2fdc-932c-5f03-aaba-fa5a0c9e4ce9 | changelog | pandas | pandas_whatsnew | 0.24.0 | 178 | * Bug in [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex"), [`TimedeltaIndex`](../reference/api/pandas.TimedeltaIndex.html#pandas.TimedeltaIndex "pandas.TimedeltaIndex") where indexing with `Ellipsis` would lose their `freq` attribute ([GH 21282](https://github.co... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
ab13debb-3d9c-5008-97d4-962750477884 | changelog | pandas | pandas_whatsnew | 0.24.0 | 179 | * Bug in [`Series.hasnans()`](../reference/api/pandas.Series.hasnans.html#pandas.Series.hasnans "pandas.Series.hasnans") that could be incorrectly cached and return incorrect answers if null elements are introduced after an initial call ([GH 19700](https://github.com/pandas-dev/pandas/issues/19700))
* [`Series.isin()`]... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
6614210f-a3e1-5cde-b807-bc4818c321b0 | changelog | pandas | pandas_whatsnew | 0.24.0 | 180 | * [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") and [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") now properly handle numpy masked arrays with hardened masks. Previously, constructing a DataFrame or Series from a masked array with a hard mask w... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
8181905f-7ba5-5b3f-898a-3adceeaeca39 | changelog | pandas | pandas_whatsnew | 0.24.0 | 181 | * Bug in `io.formats.style.Styler.applymap()` where `subset=` with [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") slice would reduce to [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") ([GH 19861](https://github.com/pandas-dev/pandas/issues/198... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
d96214a8-f919-5051-b9e4-685d77618645 | changelog | pandas | pandas_whatsnew | 0.24.0 | 182 | * [`MultiIndex.get_loc_level()`](../reference/api/pandas.MultiIndex.get_loc_level.html#pandas.MultiIndex.get_loc_level "pandas.MultiIndex.get_loc_level") (and as a consequence, `.loc` on a `Series` or `DataFrame` with a [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") index)... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
282fb70e-067e-5db6-882f-97984a3320c4 | changelog | pandas | pandas_whatsnew | 0.24.0 | 183 | * [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") has gained the [`MultiIndex.from_frame()`](../reference/api/pandas.MultiIndex.from_frame.html#pandas.MultiIndex.from_frame "pandas.MultiIndex.from_frame"), it allows constructing a [`MultiIndex`](../reference/api/pandas.Mult... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
e390a3f7-7066-5754-a2bb-6ddfc94b1a8b | changelog | pandas | pandas_whatsnew | 0.24.0 | 184 | ### IO[#](#io "Link to this heading")
* Bug in [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") in which a column specified with `CategoricalDtype` of boolean categories was not being correctly coerced from string values to booleans ([GH 20498](https://github.com/pandas-dev/panda... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
dd925a39-54d2-5d9f-9995-ca88da5430cc | changelog | pandas | pandas_whatsnew | 0.24.0 | 185 | * Bug in [`DataFrame.to_sql()`](../reference/api/pandas.DataFrame.to_sql.html#pandas.DataFrame.to_sql "pandas.DataFrame.to_sql") where a naive [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") would be written as `TIMESTAMP WITH TIMEZONE` type in supported databas... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
972cc67a-3572-5391-b5d9-8229e64f2337 | changelog | pandas | pandas_whatsnew | 0.24.0 | 186 | * [`read_excel()`](../reference/api/pandas.read_excel.html#pandas.read_excel "pandas.read_excel") will correctly show the deprecation warning for previously deprecated `sheetname` ([GH 17994](https://github.com/pandas-dev/pandas/issues/17994))
* [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pand... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
c6974a0e-ec94-518c-bf36-5583846bcaec | changelog | pandas | pandas_whatsnew | 0.24.0 | 187 | * Bug in [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") in which memory management was prematurely optimized for the C engine when the data was being read in chunks ([GH 23509](https://github.com/pandas-dev/pandas/issues/23509))
* Bug in [`read_csv()`](../reference/api/pandas.re... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
832022f9-17f4-5b78-b21a-48a4f3c94d89 | changelog | pandas | pandas_whatsnew | 0.24.0 | 188 | * [`read_sas()`](../reference/api/pandas.read_sas.html#pandas.read_sas "pandas.read_sas") will correctly parse sas7bdat files with data page types having also bit 7 set (so page type is 128 + 256 = 384) ([GH 16615](https://github.com/pandas-dev/pandas/issues/16615))
* Bug in [`read_sas()`](../reference/api/pandas.read_... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
e6f93cc9-5a30-58ef-b67f-22eb5bacd7c2 | changelog | pandas | pandas_whatsnew | 0.24.0 | 189 | * Bug in [`DataFrame.to_html()`](../reference/api/pandas.DataFrame.to_html.html#pandas.DataFrame.to_html "pandas.DataFrame.to_html") with `index=False` misses truncation indicators (…) on truncated DataFrame ([GH 15019](https://github.com/pandas-dev/pandas/issues/15019), [GH 22783](https://github.com/pandas-dev/pandas/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
d8da3d20-f71b-5b08-8db4-b0b762891cbb | changelog | pandas | pandas_whatsnew | 0.24.0 | 190 | * Bug in [`DataFrame.to_html()`](../reference/api/pandas.DataFrame.to_html.html#pandas.DataFrame.to_html "pandas.DataFrame.to_html") with `header=False` not displaying row index names ([GH 23788](https://github.com/pandas-dev/pandas/issues/23788))
* Bug in [`DataFrame.to_html()`](../reference/api/pandas.DataFrame.to_ht... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
aea51eea-3b07-5713-bcf9-ea524717329e | changelog | pandas | pandas_whatsnew | 0.24.0 | 191 | * Bug in [`DataFrame.to_string()`](../reference/api/pandas.DataFrame.to_string.html#pandas.DataFrame.to_string "pandas.DataFrame.to_string") that caused representations of [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") to not take up the whole window ([GH 22984](https://github... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
963ed158-ffa2-5339-ace4-d2fd6c0537d4 | changelog | pandas | pandas_whatsnew | 0.24.0 | 192 | * Bug in [`HDFStore.append()`](../reference/api/pandas.HDFStore.append.html#pandas.HDFStore.append "pandas.HDFStore.append") when appending a [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") with an empty string column and `min_itemsize` < 8 ([GH 12242](https://github.com/pandas... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
3d30e8f1-1214-585f-83f4-1fc172e9a089 | changelog | pandas | pandas_whatsnew | 0.24.0 | 193 | * Bug in [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") in which [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") index names were being improperly handled in the cases when they were not provided ([GH 23484](https://github.com/pandas... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
6d208041-1ee1-509e-8098-dc65f0897a8f | changelog | pandas | pandas_whatsnew | 0.24.0 | 194 | * Bug in [`read_excel()`](../reference/api/pandas.read_excel.html#pandas.read_excel "pandas.read_excel") in which extraneous header names were extracted, even though none were specified ([GH 11733](https://github.com/pandas-dev/pandas/issues/11733))
* Bug in [`read_excel()`](../reference/api/pandas.read_excel.html#pand... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
3b383633-ee16-5146-9d3a-5957925f062f | changelog | pandas | pandas_whatsnew | 0.24.0 | 195 | * Bug in [`read_excel()`](../reference/api/pandas.read_excel.html#pandas.read_excel "pandas.read_excel") in which `usecols` was not being validated for proper column names when passed in as a string ([GH 20480](https://github.com/pandas-dev/pandas/issues/20480))
* Bug in [`DataFrame.to_dict()`](../reference/api/pandas.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
68073d45-b8b7-5dfd-9991-3be591bf1dec | changelog | pandas | pandas_whatsnew | 0.24.0 | 196 | * [`DataFrame.to_string()`](../reference/api/pandas.DataFrame.to_string.html#pandas.DataFrame.to_string "pandas.DataFrame.to_string"), [`DataFrame.to_html()`](../reference/api/pandas.DataFrame.to_html.html#pandas.DataFrame.to_html "pandas.DataFrame.to_html"), [`DataFrame.to_latex()`](../reference/api/pandas.DataFrame.t... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
9ab1cddb-b6a9-5cc2-b09e-5dc490199319 | changelog | pandas | pandas_whatsnew | 0.24.0 | 197 | * Bug in [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv") that caused the C engine on Python 3.6+ on Windows to improperly read CSV filenames with accented or special characters ([GH 15086](https://github.com/pandas-dev/pandas/issues/15086))
* Bug in [`read_fwf()`](../reference/ap... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
48c05dfc-7ac5-5273-84c3-4679cb1bd05d | changelog | pandas | pandas_whatsnew | 0.24.0 | 198 | * Bug in [`DataFrame.to_stata()`](../reference/api/pandas.DataFrame.to_stata.html#pandas.DataFrame.to_stata "pandas.DataFrame.to_stata"), `pandas.io.stata.StataWriter` and `pandas.io.stata.StataWriter117` where a exception would leave a partially written and invalid dta file ([GH 23573](https://github.com/pandas-dev/pa... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
fd005d1f-847c-5193-adbc-b22609dc8910 | changelog | pandas | pandas_whatsnew | 0.24.0 | 199 | * Bug in [`DataFrame.to_string()`](../reference/api/pandas.DataFrame.to_string.html#pandas.DataFrame.to_string "pandas.DataFrame.to_string") and more generally in the floating `repr` formatter. Zeros were not trimmed if `inf` was present in a columns while it was the case with NA values. Zeros are now trimmed as in the... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
888d07f8-1830-508b-bad3-fac7c0a6c401 | changelog | pandas | pandas_whatsnew | 0.24.0 | 200 | * Bug in [`DataFrame.plot.scatter()`](../reference/api/pandas.DataFrame.plot.scatter.html#pandas.DataFrame.plot.scatter "pandas.DataFrame.plot.scatter") and [`DataFrame.plot.hexbin()`](../reference/api/pandas.DataFrame.plot.hexbin.html#pandas.DataFrame.plot.hexbin "pandas.DataFrame.plot.hexbin") caused x-axis label and... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
4279f435-ccfb-5327-af01-195012023cd4 | changelog | pandas | pandas_whatsnew | 0.24.0 | 201 | * Bug in validating color parameter caused extra color to be appended to the given color array. This happened to multiple plotting functions using matplotlib. ([GH 20726](https://github.com/pandas-dev/pandas/issues/20726))
### GroupBy/resample/rolling[#](#groupby-resample-rolling "Link to this heading")
* Bug in `Rol... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
b4b80ad6-ace7-5f1b-95e9-4670305ab4d1 | changelog | pandas | pandas_whatsnew | 0.24.0 | 202 | * Bug where `ValueError` is wrongly raised when calling `SeriesGroupBy.count()` method of a
`SeriesGroupBy` when the grouping variable only contains NaNs and numpy version < 1.13 ([GH 21956](https://github.com/pandas-dev/pandas/issues/21956)).
* Multiple bugs in `Rolling.min()` with `closed='left'` and a
datetime-l... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
e3a181e3-761a-5342-be42-2eedb85193c7 | changelog | pandas | pandas_whatsnew | 0.24.0 | 203 | * Bug in [`Resampler.asfreq()`](../reference/api/pandas.core.resample.Resampler.asfreq.html#pandas.core.resample.Resampler.asfreq "pandas.core.resample.Resampler.asfreq") when frequency of `TimedeltaIndex` is a subperiod of a new frequency ([GH 13022](https://github.com/pandas-dev/pandas/issues/13022)).
* Bug in [`Seri... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
d40c5493-91b2-52ea-83e6-efeaaee1e05e | changelog | pandas | pandas_whatsnew | 0.24.0 | 204 | * Bug in [`DataFrame.resample()`](../reference/api/pandas.DataFrame.resample.html#pandas.DataFrame.resample "pandas.DataFrame.resample") and [`Series.resample()`](../reference/api/pandas.Series.resample.html#pandas.Series.resample "pandas.Series.resample") when resampling by a weekly offset (`'W'`) across a DST transit... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
861c2564-e811-5782-a8af-aaf623d21799 | changelog | pandas | pandas_whatsnew | 0.24.0 | 205 | * Bug in `GroupBy.nth()` where column order was not always preserved ([GH 20760](https://github.com/pandas-dev/pandas/issues/20760))
* Bug in `GroupBy.rank()` with `method='dense'` and `pct=True` when a group has only one member would raise a `ZeroDivisionError` ([GH 23666](https://github.com/pandas-dev/pandas/issues/2... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
80bdc109-d8ff-5ac9-ad3e-b8b9ac5c9cba | changelog | pandas | pandas_whatsnew | 0.24.0 | 206 | * Bug in [`DataFrame.groupby()`](../reference/api/pandas.DataFrame.groupby.html#pandas.DataFrame.groupby "pandas.DataFrame.groupby") did not respect the `observed` argument when selecting a column and instead always used `observed=False` ([GH 23970](https://github.com/pandas-dev/pandas/issues/23970))
* Bug in `SeriesGr... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
e11923d4-570f-5d49-89c2-e934aea446f6 | changelog | pandas | pandas_whatsnew | 0.24.0 | 207 | * Bug in groupby when grouping on categorical causes `ValueError` and incorrect grouping if `observed=True` and `nan` is present in categorical column ([GH 24740](https://github.com/pandas-dev/pandas/issues/24740), [GH 21151](https://github.com/pandas-dev/pandas/issues/21151)).
### Reshaping[#](#reshaping "Link to thi... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
4167703d-0d73-5df5-a845-3470b0542bb4 | changelog | pandas | pandas_whatsnew | 0.24.0 | 208 | * Bug in [`Series.combine_first()`](../reference/api/pandas.Series.combine_first.html#pandas.Series.combine_first "pandas.Series.combine_first") with `datetime64[ns, tz]` dtype which would return tz-naive result ([GH 21469](https://github.com/pandas-dev/pandas/issues/21469))
* Bug in [`Series.where()`](../reference/api... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
22870307-53e9-5663-9084-9b2a7b57bd8e | changelog | pandas | pandas_whatsnew | 0.24.0 | 209 | * Bug in [`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") with `list` conditionals ([GH 21891](https://github.com/pandas-dev/pandas/issues/21891))
* Bug ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
c382d087-b98e-5415-b6e6-61d89158fb48 | changelog | pandas | pandas_whatsnew | 0.24.0 | 210 | * Bug in [`DataFrame.replace()`](../reference/api/pandas.DataFrame.replace.html#pandas.DataFrame.replace "pandas.DataFrame.replace") raises `RecursionError` when replacing empty lists ([GH 22083](https://github.com/pandas-dev/pandas/issues/22083))
* Bug in [`Series.replace()`](../reference/api/pandas.Series.replace.htm... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
905b993a-332c-57c1-b3e1-4da3a8f58b1f | changelog | pandas | pandas_whatsnew | 0.24.0 | 211 | * Bug in [`pandas.wide_to_long()`](../reference/api/pandas.wide_to_long.html#pandas.wide_to_long "pandas.wide_to_long") when a string is passed to the stubnames argument and a column name is a substring of that stubname ([GH 22468](https://github.com/pandas-dev/pandas/issues/22468))
* Bug in [`merge()`](../reference/ap... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
4c860717-d8b3-56f8-b676-dd1eb7f5fabb | changelog | pandas | pandas_whatsnew | 0.24.0 | 212 | * Bug in [`merge_asof()`](../reference/api/pandas.merge_asof.html#pandas.merge_asof "pandas.merge_asof") where confusing error message raised when attempting to merge with missing values ([GH 23189](https://github.com/pandas-dev/pandas/issues/23189))
* Bug in [`DataFrame.nsmallest()`](../reference/api/pandas.DataFrame.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
179dff38-8e2f-5df9-81b6-b11ecb7a7f8f | changelog | pandas | pandas_whatsnew | 0.24.0 | 213 | * Bug in `DataFrame.append()` with a [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") with a dateutil timezone would raise a `TypeError` ([GH 23682](https://github.com/pandas-dev/pandas/issues/23682))
* Bug in [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") con... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
036cde1f-9939-5782-9942-ecb8678e1f9b | changelog | pandas | pandas_whatsnew | 0.24.0 | 214 | * Bug in [`DataFrame.join()`](../reference/api/pandas.DataFrame.join.html#pandas.DataFrame.join "pandas.DataFrame.join") when joining on partial MultiIndex would drop names ([GH 20452](https://github.com/pandas-dev/pandas/issues/20452)).
* [`DataFrame.nlargest()`](../reference/api/pandas.DataFrame.nlargest.html#pandas.... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
f32e1bf1-15f3-522e-b42f-4207aafb2678 | changelog | pandas | pandas_whatsnew | 0.24.0 | 215 | * Bug in [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") prevented list subclasses to be used to construction ([GH 21226](https://github.com/pandas-dev/pandas/issues/21226))
* Bug in [`DataFrame.unstack()`](../reference/api/pandas.DataFrame.unstack.html#pandas.DataFrame.unstack... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
a15958e1-c1b7-5ec6-a738-05e92b82a792 | changelog | pandas | pandas_whatsnew | 0.24.0 | 216 | * Bug in [`DataFrame.stack()`](../reference/api/pandas.DataFrame.stack.html#pandas.DataFrame.stack "pandas.DataFrame.stack") where timezone aware values were converted to timezone naive values ([GH 19420](https://github.com/pandas-dev/pandas/issues/19420))
* Bug in [`merge_asof()`](../reference/api/pandas.merge_asof.ht... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
6d3898a9-1f60-5159-883b-1142c32c35e3 | changelog | pandas | pandas_whatsnew | 0.24.0 | 217 | * Providing a `sparse_index` to the SparseArray constructor no longer defaults the na-value to `np.nan` for all dtypes. The correct na\_value for `data.dtype` is now used.
* Bug in `SparseArray.nbytes` under-reporting its memory usage by not including the size of its sparse index.
* Improved performance of [`Series.shi... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
13e76ea5-6452-59c4-8354-a061a7417cfb | changelog | pandas | pandas_whatsnew | 0.24.0 | 218 | * Bug in `SparseArray.nonzero()` and `SparseDataFrame.dropna()` returning shifted/incorrect results ([GH 21172](https://github.com/pandas-dev/pandas/issues/21172))
* Bug in [`DataFrame.apply()`](../reference/api/pandas.DataFrame.apply.html#pandas.DataFrame.apply "pandas.DataFrame.apply") where dtypes would lose sparsen... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
4d888f1e-ed17-5508-ab90-afc639392e7e | changelog | pandas | pandas_whatsnew | 0.24.0 | 219 | * [`background_gradient()`](../reference/api/pandas.io.formats.style.Styler.background_gradient.html#pandas.io.formats.style.Styler.background_gradient "pandas.io.formats.style.Styler.background_gradient") now takes a `text_color_threshold` parameter to automatically lighten the text color based on the luminance of the... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
b4e3b33e-4b06-51c3-887f-981b9c70a945 | changelog | pandas | pandas_whatsnew | 0.24.0 | 220 | * [`bar()`](../reference/api/pandas.io.formats.style.Styler.bar.html#pandas.io.formats.style.Styler.bar "pandas.io.formats.style.Styler.bar") now also supports tablewise application (in addition to rowwise and columnwise) with `axis=None` and setting clipping range with `vmin` and `vmax` ([GH 21548](https://github.com/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
9422acf2-ba6e-5b82-8062-2b5cff3eb881 | changelog | pandas | pandas_whatsnew | 0.24.0 | 221 | * Building pandas on macOS now targets minimum macOS 10.9 if run on macOS 10.9 or above ([GH 23424](https://github.com/pandas-dev/pandas/issues/23424))
### Other[#](#other "Link to this heading")
* Bug where C variables were declared with external linkage causing import errors if certain other C libraries were import... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
0595aca2-558f-58a5-98b8-f4f5bb81d502 | changelog | pandas | pandas_whatsnew | 0.24.0 | 222 | * Anudeep Tubati +
* Arjun Sharma +
* Armin Varshokar
* Artem Bogachev
* ArtinSarraf +
* Barry Fitzgerald +
* Bart Aelterman +
* Ben James +
* Ben Nelson +
* Benjamin Grove +
* Benjamin Rowell +
* Benoit Paquet +
* Boris Lau +
* Brett Naul
* Brian Choi +
* C.A.M. Gerlach +
* Carl Johan +
* Chalmer Lowe
* Chang She
* Ch... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
9673a8d8-2f23-5b79-a23c-710cc8628fe9 | changelog | pandas | pandas_whatsnew | 0.24.0 | 223 | * Hannah Ferchland
* Haochen Wu
* Hubert +
* HubertKl +
* HyunTruth +
* Iain Barr
* Ignacio Vergara Kausel +
* Irv Lustig +
* IsvenC +
* Jacopo Rota
* Jakob Jarmar +
* James Bourbeau +
* James Myatt +
* James Winegar +
* Jan Rudolph
* Jared Groves +
* Jason Kiley +
* Javad Noorbakhsh +
* Jay Offerdahl +
* Jeff Reback
*... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
5396c68e-db5d-5f7b-895b-a8940888a3f9 | changelog | pandas | pandas_whatsnew | 0.24.0 | 224 | * Martin Babka +
* MatanCohe +
* Mateusz Woś +
* Mathew Topper +
* Matt Boggess +
* Matt Cooper +
* Matt Williams +
* Matthew Gilbert
* Matthew Roeschke
* Max Kanter
* Michael Odintsov
* Michael Silverstein +
* Michael-J-Ward +
* Mickaël Schoentgen +
* Miguel Sánchez de León Peque +
* Ming Li
* Mitar
* Mitch Negus
* Mo... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
ab3b5bd9-a243-55de-8ca5-518c23531894 | changelog | pandas | pandas_whatsnew | 0.24.0 | 225 | * Saurav Chakravorty +
* Scott McAllister +
* Sean Chan +
* Shadi Akiki +
* Shengpu Tang +
* Shirish Kadam +
* Simon Hawkins +
* Simon Riddell +
* Simone Basso
* Sinhrks
* Soyoun(Rose) Kim +
* Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) +
* Stefaan Lippens +
* Stefano Cianciulli
* Stefano Miccoli +
* Steph... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
e315d12b-5936-5891-ac69-575e94103d25 | changelog | pandas | pandas_whatsnew | 0.24.0 | 226 | * Yuliya Dovzhenko +
* Yury Bayda +
* Zac Hatfield-Dodds +
* aberres +
* aeltanawy +
* ailchau +
* alimcmaster1
* alphaCTzo7G +
* amphy +
* araraonline +
* azure-pipelines[bot] +
* benarthur91 +
* bk521234 +
* cgangwar11 +
* chris-b1
* cxl923cc +
* dahlbaek +
* dannyhyunkim +
* darke-spirits +
* david-liu-brattle-1
* d... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.0.md |
3a3ba1bb-9952-5907-a845-ab6e168f0124 | changelog | pandas | pandas_whatsnew | 0.24.1 | 0 | # What's new in pandas 0.24.1
Source: https://pandas.pydata.org/docs/whatsnew/v0.24.1.html
# What’s new in 0.24.1 (February 3, 2019)[#](#what-s-new-in-0-24-1-february-3-2019 "Link to this heading")
Warning
The 0.24.x series of releases will be the last to support Python 2. Future feature
releases will support Pytho... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.1.md |
a572462a-5b03-5482-9b94-bf3035b15ef4 | changelog | pandas | pandas_whatsnew | 0.24.1 | 1 | The default `sort` value for [`Index.union()`](../reference/api/pandas.Index.union.html#pandas.Index.union "pandas.Index.union") has changed from `True` to `None` ([GH 24959](https://github.com/pandas-dev/pandas/issues/24959)).
The default *behavior*, however, remains the same: the result is sorted, unless
1. `self` a... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.1.md |
d087980a-19e1-5729-acc0-64260e555ae1 | changelog | pandas | pandas_whatsnew | 0.24.1 | 2 | The `sort` option for [`Index.intersection()`](../reference/api/pandas.Index.intersection.html#pandas.Index.intersection "pandas.Index.intersection") has changed in three ways.
1. The default has changed from `True` to `False`, to restore the
pandas 0.23.4 and earlier behavior of not sorting by default.
2. The beha... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.1.md |
695c2acc-b63e-567e-a248-d4d49d5cdf19 | changelog | pandas | pandas_whatsnew | 0.24.1 | 3 | wrongly converting column names that were not valid python identifiers ([GH 24939](https://github.com/pandas-dev/pandas/issues/24939), [GH 24940](https://github.com/pandas-dev/pandas/issues/24940)).
* Fixed regression in [`read_sql()`](../reference/api/pandas.read_sql.html#pandas.read_sql "pandas.read_sql") when pass... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.1.md |
eabe286e-a809-5ce6-9e64-f3e3f5fc4779 | changelog | pandas | pandas_whatsnew | 0.24.1 | 4 | * Fixed regression in [`Series.rename_axis()`](../reference/api/pandas.Series.rename_axis.html#pandas.Series.rename_axis "pandas.Series.rename_axis") and [`DataFrame.rename_axis()`](../reference/api/pandas.DataFrame.rename_axis.html#pandas.DataFrame.rename_axis "pandas.DataFrame.rename_axis") where passing `None` faile... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.1.md |
e1a19868-2053-5e8f-981a-ffabc60ab0fb | changelog | pandas | pandas_whatsnew | 0.24.1 | 5 | ## Bug fixes[#](#bug-fixes "Link to this heading")
**Reshaping**
* Bug in [`DataFrame.groupby()`](../reference/api/pandas.DataFrame.groupby.html#pandas.DataFrame.groupby "pandas.DataFrame.groupby") with [`Grouper`](../reference/api/pandas.Grouper.html#pandas.Grouper "pandas.Grouper") when there is a time change (DST)... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.1.md |
87ef2e0a-7294-52c1-872e-ec0c33ff8588 | changelog | pandas | pandas_whatsnew | 0.24.1 | 6 | ## Contributors[#](#contributors "Link to this heading")
A total of 7 people contributed patches to this release. People with a “+” by their names contributed a patch for the first time.
* Alex Buchkovsky
* Roman Yurchak
* h-vetinari
* jbrockmendel
* Jeremy Schendel
* Joris Van den Bossche
* Tom Augspurger
| large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.1.md |
e3b6ca47-6a82-57b3-9bfd-173b2c631961 | changelog | pandas | pandas_whatsnew | 0.24.2 | 0 | # What's new in pandas 0.24.2
Source: https://pandas.pydata.org/docs/whatsnew/v0.24.2.html
# What’s new in 0.24.2 (March 12, 2019)[#](#what-s-new-in-0-24-2-march-12-2019 "Link to this heading")
Warning
The 0.24.x series of releases will be the last to support Python 2. Future feature
releases will support Python 3 ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.2.md |
a33f75f1-9aae-5596-a986-706d36f30fa3 | changelog | pandas | pandas_whatsnew | 0.24.2 | 1 | * Fixed issue in `DataFrame` construction with passing a mixed list of mixed types could segfault. ([GH 25075](https://github.com/pandas-dev/pandas/issues/25075))
* Fixed regression in [`DataFrame.apply()`](../reference/api/pandas.DataFrame.apply.html#pandas.DataFrame.apply "pandas.DataFrame.apply") causing `RecursionE... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.2.md |
721dd90d-a5f3-51f2-82d2-0e22b23036fb | changelog | pandas | pandas_whatsnew | 0.24.2 | 2 | * Fixed regression in [`Series.min()`](../reference/api/pandas.Series.min.html#pandas.Series.min "pandas.Series.min") and [`Series.max()`](../reference/api/pandas.Series.max.html#pandas.Series.max "pandas.Series.max") where `numeric_only=True` was ignored when the `Series` contained `Categorical` data ([GH 25299](https... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.2.md |
a37c18b5-dae7-55df-90f5-eb27627ad522 | changelog | pandas | pandas_whatsnew | 0.24.2 | 3 | * Fixed regression in `IntervalDtype` construction where passing an incorrect string with ‘Interval’ as a prefix could result in a `RecursionError`. ([GH 25338](https://github.com/pandas-dev/pandas/issues/25338))
* Fixed regression in creating a period-dtype array from a read-only NumPy array of period objects. ([GH 25... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.2.md |
71e5d322-2584-5816-a555-4e423bb2eacf | changelog | pandas | pandas_whatsnew | 0.24.2 | 4 | * Fixed pip installing from source into an environment without NumPy ([GH 25193](https://github.com/pandas-dev/pandas/issues/25193))
* Fixed regression in [`DataFrame.replace()`](../reference/api/pandas.DataFrame.replace.html#pandas.DataFrame.replace "pandas.DataFrame.replace") where large strings of numbers would be c... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.2.md |
69b6396c-521c-5c54-9b0d-4352182978ec | changelog | pandas | pandas_whatsnew | 0.24.2 | 5 | ## Bug fixes[#](#bug-fixes "Link to this heading")
**I/O**
* Better handling of terminal printing when the terminal dimensions are not known ([GH 25080](https://github.com/pandas-dev/pandas/issues/25080))
* Bug in reading a HDF5 table-format `DataFrame` created in Python 2, in Python 3 ([GH 24925](https://github.com/... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.2.md |
010c520d-f4d6-542d-b78c-947fb0881b36 | changelog | pandas | pandas_whatsnew | 0.24.2 | 6 | * Bug where calling [`Series.replace()`](../reference/api/pandas.Series.replace.html#pandas.Series.replace "pandas.Series.replace") on categorical data could return a `Series` with incorrect dimensions ([GH 24971](https://github.com/pandas-dev/pandas/issues/24971))
**Reshaping**
* Bug in `GroupBy.transform()` where a... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.2.md |
fcc5e58f-ef01-5408-8809-1aced558d301 | changelog | pandas | pandas_whatsnew | 0.24.2 | 7 | * Bug in [`Series.plot()`](../reference/api/pandas.Series.plot.html#pandas.Series.plot "pandas.Series.plot") where a secondary y axis could not be set to log scale ([GH 25545](https://github.com/pandas-dev/pandas/issues/25545))
**Other**
* Bug in [`Series.is_unique()`](../reference/api/pandas.Series.is_unique.html#pa... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.2.md |
c50b533c-d0f5-51d8-b8dc-fe8c32e42ba0 | changelog | pandas | pandas_whatsnew | 0.24.2 | 8 | * Bug in `IntervalTree` where a `RecursionError` occurs upon construction due to an overflow when adding endpoints, which also causes [`IntervalIndex`](../reference/api/pandas.IntervalIndex.html#pandas.IntervalIndex "pandas.IntervalIndex") to crash during indexing operations ([GH 25485](https://github.com/pandas-dev/pa... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.2.md |
42d41de2-f22e-5be1-a122-8e6e34bce3e6 | changelog | pandas | pandas_whatsnew | 0.24.2 | 9 | * Flavien Lambert +
* gfyoung
* Gioia Ballin
* jbrockmendel
* Jeff Reback
* Jeremy Schendel
* Johan von Forstner +
* Joris Van den Bossche
* Josh
* Justin Zheng
* Kendall Masse
* Matthew Roeschke
* Max Bolingbroke +
* rbenes +
* Sterling Paramore +
* Tao He +
* Thomas A Caswell
* Tom Augspurger
* Vibhu Agarwal +
* Will... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.24.2.md |
99f535f5-ec50-556d-a85d-808724097436 | changelog | pandas | pandas_whatsnew | 0.25.0 | 0 | # What's new in pandas 0.25.0
Source: https://pandas.pydata.org/docs/whatsnew/v0.25.0.html
# What’s new in 0.25.0 (July 18, 2019)[#](#what-s-new-in-0-25-0-july-18-2019 "Link to this heading")
Warning
Starting with the 0.25.x series of releases, pandas only supports Python 3.5.3 and higher.
See [Dropping Python 2.7]... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
6506a852-0bb0-53b2-ae13-95df5878a363 | changelog | pandas | pandas_whatsnew | 0.25.0 | 1 | ## Enhancements[#](#enhancements "Link to this heading")
### GroupBy aggregation with relabeling[#](#groupby-aggregation-with-relabeling "Link to this heading")
pandas has added special groupby behavior, known as “named aggregation”, for naming the
output columns when applying multiple aggregation functions to specif... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
f0d6571a-5db1-58bd-9f40-5978a0f070fa | changelog | pandas | pandas_whatsnew | 0.25.0 | 2 | ...: average_weight=pd.NamedAgg(column='weight', aggfunc="mean"),
...: )
...:
Out[3]:
min_height max_height average_weight
kind
cat 9.1 9.5 8.90
dog 6.0 34.0 102.75
[2 rows x 3 columns]
```
Pass the des... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
1da0cab3-6ac0-5d2b-8626-bfa6c25d5caa | changelog | pandas | pandas_whatsnew | 0.25.0 | 3 | dog 6.0 34.0 102.75
[2 rows x 3 columns]
```
Named aggregation is the recommended replacement for the deprecated “dict-of-dicts”
approach to naming the output of column-specific aggregations ([Deprecate groupby.agg() with a dictionary when renaming](v0.20.0.html#whatsnew-0200-api-breaking-dep... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
a332d5f5-78c7-5d02-a678-f9c1587bf48e | changelog | pandas | pandas_whatsnew | 0.25.0 | 4 | a dict to a Series groupby aggregation ([Deprecate groupby.agg() with a dictionary when renaming](v0.20.0.html#whatsnew-0200-api-breaking-deprecate-group-agg-dict)).
See [Named aggregation](../user_guide/groupby.html#groupby-aggregate-named) for more.
### GroupBy aggregation with multiple lambdas[#](#groupby-aggregat... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
62427e38-b269-5558-90f6-123b4480fef8 | changelog | pandas | pandas_whatsnew | 0.25.0 | 5 | <lambda_0> <lambda_1> <lambda_0> <lambda_1>
kind
cat -0.4 18.6 -2.0 17.8
dog -28.0 40.0 -190.5 205.5
[2 rows x 4 columns]
```
Previously, these raised a `SpecificationError`.
### Better repr for MultiIndex[#](#better-repr-... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
cb621fa6-0238-568f-8675-177c2de668dd | changelog | pandas | pandas_whatsnew | 0.25.0 | 6 | ( 'a', 8),
( 'a', 9),
...
('abc', 490),
('abc', 491),
('abc', 492),
('abc', 493),
('abc', 494),
('abc', 495),
('abc', 496),
('abc', 497),
('abc', 498),
('abc'... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
f9eb270d-7197-58aa-b40d-85bbd732595a | changelog | pandas | pandas_whatsnew | 0.25.0 | 7 | the output will truncate, if it’s wider than `options.display.width`
(default: 80 characters).
### Shorter truncated repr for Series and DataFrame[#](#shorter-truncated-repr-for-series-and-dataframe "Link to this heading")
Currently, the default display options of pandas ensure that when a Series
or DataFrame has mor... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
d2a1b52a-141f-524d-983b-59cb6a543a25 | changelog | pandas | pandas_whatsnew | 0.25.0 | 8 | objects (e.g. `df.head(20)` shows all 20 rows), while giving a brief repr
for large objects.
To restore the previous behaviour of a single threshold, set
`pd.options.display.min_rows = None`.
### JSON normalize with max\_level param support[#](#json-normalize-with-max-level-param-support "Link to this heading")
[`js... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
c754a257-9123-5b93-8c11-7bd44981bb12 | changelog | pandas | pandas_whatsnew | 0.25.0 | 9 | ### Series.explode to split list-like values to rows[#](#series-explode-to-split-list-like-values-to-rows "Link to this heading")
[`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") and [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") have gained the [... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
c1a584f0-ceac-5efc-ad70-c0361dbaecbc | changelog | pandas | pandas_whatsnew | 0.25.0 | 10 | [2 rows x 2 columns]
```
Creating a long form `DataFrame` is now straightforward using chained operations
```None
In [11]: df.assign(var1=df.var1.str.split(',')).explode('var1')
Out[11]:
var1 var2
0 a 1
0 b 1
0 c 1
1 d 2
1 e 2
1 f 2
[6 rows x 2 columns]
```
### Other en... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
98470fc4-b6ed-5e3c-9ecf-7d06713da20e | changelog | pandas | pandas_whatsnew | 0.25.0 | 11 | * Indexing of `DataFrame` and `Series` now accepts zerodim `np.ndarray` ([GH 24919](https://github.com/pandas-dev/pandas/issues/24919))
* [`Timestamp.replace()`](../reference/api/pandas.Timestamp.replace.html#pandas.Timestamp.replace "pandas.Timestamp.replace") now supports the `fold` argument to disambiguate DST trans... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
a08267c7-5607-55f6-859d-f9e1d9c77d71 | changelog | pandas | pandas_whatsnew | 0.25.0 | 12 | * [`DataFrame.pivot_table()`](../reference/api/pandas.DataFrame.pivot_table.html#pandas.DataFrame.pivot_table "pandas.DataFrame.pivot_table") now accepts an `observed` parameter which is passed to underlying calls to [`DataFrame.groupby()`](../reference/api/pandas.DataFrame.groupby.html#pandas.DataFrame.groupby "pandas... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
f5de2b20-d745-575b-9fb2-59353f014598 | changelog | pandas | pandas_whatsnew | 0.25.0 | 13 | * [`DataFrame.set_index()`](../reference/api/pandas.DataFrame.set_index.html#pandas.DataFrame.set_index "pandas.DataFrame.set_index") now works for instances of `abc.Iterator`, provided their output is of the same length as the calling frame ([GH 22484](https://github.com/pandas-dev/pandas/issues/22484), [GH 24984](htt... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
ac64fa14-9d64-5a5c-bfb6-c1cd2658d0f1 | changelog | pandas | pandas_whatsnew | 0.25.0 | 14 | * `TimedeltaIndex.intersection()` now also supports the `sort` keyword ([GH 24471](https://github.com/pandas-dev/pandas/issues/24471))
* [`DataFrame.rename()`](../reference/api/pandas.DataFrame.rename.html#pandas.DataFrame.rename "pandas.DataFrame.rename") now supports the `errors` argument to raise errors when attempt... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
0df2bec2-474a-537b-a1f0-1380267934b6 | changelog | pandas | pandas_whatsnew | 0.25.0 | 15 | * [`RangeIndex`](../reference/api/pandas.RangeIndex.html#pandas.RangeIndex "pandas.RangeIndex") has gained [`start`](../reference/api/pandas.RangeIndex.start.html#pandas.RangeIndex.start "pandas.RangeIndex.start"), [`stop`](../reference/api/pandas.RangeIndex.stop.html#pandas.RangeIndex.stop "pandas.RangeIndex.stop"), a... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
b35a79b4-7226-5ffe-b764-edabfc071686 | changelog | pandas | pandas_whatsnew | 0.25.0 | 16 | * [`DataFrame.query()`](../reference/api/pandas.DataFrame.query.html#pandas.DataFrame.query "pandas.DataFrame.query") and [`DataFrame.eval()`](../reference/api/pandas.DataFrame.eval.html#pandas.DataFrame.eval "pandas.DataFrame.eval") now supports quoting column names with backticks to refer to names with spaces ([GH 65... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
01e2f8e4-3e5b-5583-80d3-ee46c14ffcce | changelog | pandas | pandas_whatsnew | 0.25.0 | 17 | * [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") and [`TimedeltaIndex`](../reference/api/pandas.TimedeltaIndex.html#pandas.TimedeltaIndex "pandas.TimedeltaIndex") now have a `mean` method ([GH 24757](https://github.com/pandas-dev/pandas/issues/24757))
* [`DataF... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
5d782be7-2a47-5359-8c4e-9da9aab53e29 | changelog | pandas | pandas_whatsnew | 0.25.0 | 18 | * Added new option `plotting.backend` to be able to select a plotting backend different than the existing `matplotlib` one. Use `pandas.set_option('plotting.backend', '<backend-module>')` where `<backend-module` is a library implementing the pandas plotting API ([GH 14130](https://github.com/pandas-dev/pandas/issues/14... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
f7702ad0-a6ae-50e8-ba71-f94907cfb37e | changelog | pandas | pandas_whatsnew | 0.25.0 | 19 | * [`Interval`](../reference/api/pandas.Interval.html#pandas.Interval "pandas.Interval"), [`IntervalIndex`](../reference/api/pandas.IntervalIndex.html#pandas.IntervalIndex "pandas.IntervalIndex"), and [`IntervalArray`](../reference/api/pandas.arrays.IntervalArray.html#pandas.arrays.IntervalArray "pandas.arrays.IntervalA... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
606666d0-9e8a-554d-b0ac-1672bf976108 | changelog | pandas | pandas_whatsnew | 0.25.0 | 20 | Indexing a [`DataFrame`](../reference/api/pandas.DataFrame.html#pandas.DataFrame "pandas.DataFrame") or [`Series`](../reference/api/pandas.Series.html#pandas.Series "pandas.Series") with a [`DatetimeIndex`](../reference/api/pandas.DatetimeIndex.html#pandas.DatetimeIndex "pandas.DatetimeIndex") with a
date string with a... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
e6cafdf3-ef99-5c77-9b97-780586035884 | changelog | pandas | pandas_whatsnew | 0.25.0 | 21 | 0
2019-01-01 00:00:00-08:00 0
[1 rows x 1 columns]
```
### `MultiIndex` constructed from levels and codes[#](#multiindex-constructed-from-levels-and-codes "Link to this heading")
Constructing a [`MultiIndex`](../reference/api/pandas.MultiIndex.html#pandas.MultiIndex "pandas.MultiIndex") w... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
a6c0a109-36a7-5808-a9e1-1c5ea14a556d | changelog | pandas | pandas_whatsnew | 0.25.0 | 22 | In [15]: pd.MultiIndex(levels=[[np.nan, None, pd.NaT, 128, 2]],
....: codes=[[0, -1, 1, 2, 3, 4]])
....:
Out[15]:
MultiIndex([(nan,),
(nan,),
(nan,),
(nan,),
(128,),
( 2,)],
)
In [16]: pd.MultiIndex(levels=[[1, 2]], codes=[[0... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
cf59869d-b3f6-55ae-b123-b46a1d8c09b8 | changelog | pandas | pandas_whatsnew | 0.25.0 | 23 | File ~/work/pandas/pandas/pandas/core/indexes/multi.py:452, in MultiIndex._verify_integrity(self, codes, levels, levels_to_verify)
446 raise ValueError(
447 f"On level {i}, code max ({level_codes.max()}) >= length of "
448 f"level ({len(level)}). NOTE: this index is in an "
449 ... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
fd2a4284-714d-526f-8f4a-7f0a16bd6881 | changelog | pandas | pandas_whatsnew | 0.25.0 | 24 | The implementation of [`DataFrameGroupBy.apply()`](../reference/api/pandas.core.groupby.DataFrameGroupBy.apply.html#pandas.core.groupby.DataFrameGroupBy.apply "pandas.core.groupby.DataFrameGroupBy.apply")
previously evaluated the supplied function consistently twice on the first group
to infer if it is safe to use a fa... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
f9c04c9b-fc0b-57c5-822f-e84f2df4bd34 | changelog | pandas | pandas_whatsnew | 0.25.0 | 25 | a b
0 x 1
1 y 2
[2 rows x 2 columns]
In [19]: def func(group):
....: print(group.name)
....: return group
....:
```
*Previous behavior*:
```None
In [3]: df.groupby('a').apply(func)
x
x
y
Out[3]:
a b
0 x 1
1 y 2
```
*New behavior*:
```None
In [3]: df.groupby('a').apply(func)
x
y
Ou... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
99496f09-343b-59f7-b356-65e96405996b | changelog | pandas | pandas_whatsnew | 0.25.0 | 26 | pandas.core.sparse.frame.SparseDataFrame
```
*New behavior*:
```None
In [21]: type(pd.concat([df, df]))
Out[21]: pandas.core.frame.DataFrame
```
This now matches the existing behavior of [`concat`](../reference/api/pandas.concat.html#pandas.concat "pandas.concat") on `Series` with sparse values.
[`concat()`](../refe... | large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.25.0.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.