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
9b988619-da15-56c5-b0c1-bafe9f63a3fb
changelog
pandas
pandas_whatsnew
0.19.0
47
### Merging changes[#](#merging-changes "Link to this heading") Merging will now preserve the dtype of the join keys ([GH 8596](https://github.com/pandas-dev/pandas/issues/8596)) ```None In [100]: df1 = pd.DataFrame({"key": [1], "v1": [10]}) In [101]: df1 Out[101]: key v1 0 1 10 [1 rows x 2 columns] In [1...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
e509f0c0-9b07-5b87-97c5-630785e7098d
changelog
pandas
pandas_whatsnew
0.19.0
48
Of course if you have missing values that are introduced, then the resulting dtype will be upcast, which is unchanged from previous. ```None In [106]: pd.merge(df1, df2, how="outer", on="key") Out[106]: key v1_x v1_y 0 1 10.0 20 1 2 NaN 30 [2 rows x 3 columns] In [107]: pd.merge(df1, df2, how="o...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
a10da3ad-c39b-575a-b0c1-51540d576579
changelog
pandas
pandas_whatsnew
0.19.0
49
In [3]: s.describe(percentiles=[0.0001, 0.0005, 0.001, 0.999, 0.9995, 0.9999]) Out[3]: count 5.000000 mean 2.000000 std 1.581139 min 0.000000 0.0% 0.000400 0.1% 0.002000 0.1% 0.004000 50% 2.000000 99.9% 3.996000 100.0% 3.998000 100.0% 3.999600 max 4.000000 dtype...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
b8abfabf-817b-51de-9baf-ad84e86be555
changelog
pandas
pandas_whatsnew
0.19.0
50
min 0.000000 0.01% 0.000400 0.05% 0.002000 0.1% 0.004000 50% 2.000000 99.9% 3.996000 99.95% 3.998000 99.99% 3.999600 max 4.000000 [12 rows x 1 columns] ``` Furthermore: * Passing duplicated `percentiles` will now raise a `ValueError`. * Bug in `.describe()` on a DataFrame with a mixed-dtype co...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
f2b4e763-ce50-565c-a306-b71f244f667b
changelog
pandas
pandas_whatsnew
0.19.0
51
In [1]: pi = pd.PeriodIndex(['2016-08-01'], freq='D') In [2]: pi Out[2]: PeriodIndex(['2016-08-01'], dtype='int64', freq='D') In [3]: pd.api.types.is_integer_dtype(pi) Out[3]: True In [4]: pi.dtype Out[4]: dtype('int64') ``` **New behavior**: ```None In [112]: pi = pd.PeriodIndex(["2016-08-01"], freq="D") In [113...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
79c48926-f08a-58e7-8491-76e46aaf9578
changelog
pandas
pandas_whatsnew
0.19.0
52
```None In [5]: pd.Period('NaT', freq='D') Out[5]: Period('NaT', 'D') ``` **New behavior**: These result in `pd.NaT` without providing `freq` option. ```None In [118]: pd.Period("NaT") Out[118]: NaT In [119]: pd.Period(None) Out[119]: NaT ``` To be compatible with `Period` addition and subtraction, `pd.NaT` now su...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
1bee4e84-ce59-51ea-8f0c-9e449efbe090
changelog
pandas
pandas_whatsnew
0.19.0
53
In [6]: pi = pd.PeriodIndex(['2011-01', '2011-02'], freq='M') In [7]: pi.values Out[7]: array([492, 493]) ``` **New behavior**: ```None In [122]: pi = pd.PeriodIndex(["2011-01", "2011-02"], freq="M") In [123]: pi.values Out[123]: array([Period('2011-01', 'M'), Period('2011-02', 'M')], dtype=object) ``` ### Index `+...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
01692361-c53d-5661-83f7-468635290138
changelog
pandas
pandas_whatsnew
0.19.0
54
In [1]: pd.Index(['a', 'b']) + pd.Index(['a', 'c']) FutureWarning: using '+' to provide set union with Indexes is deprecated, use '|' or .union() Out[1]: Index(['a', 'b', 'c'], dtype='object') ``` **New behavior**: the same operation will now perform element-wise addition: ```None In [124]: pd.Index(["a", "b"]) + pd....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
03ffee9e-74c9-5621-b6d3-9d2ff8564c04
changelog
pandas
pandas_whatsnew
0.19.0
55
FutureWarning: using '-' to provide set differences with datetimelike Indexes is deprecated, use .difference() Out[1]: DatetimeIndex(['2016-01-01'], dtype='datetime64[ns]', freq=None) ``` **New behavior**: ```None In [126]: ( .....: pd.DatetimeIndex(["2016-01-01", "2016-01-02"]) .....: - pd.DatetimeInde...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
224665d1-b19b-575f-95db-b7a3bea8a1b8
changelog
pandas
pandas_whatsnew
0.19.0
56
In [4]: idx1.symmetric_difference(idx2) Out[4]: Float64Index([0.0, nan, 2.0, 3.0], dtype='float64') ``` **New behavior**: ```None In [129]: idx1.difference(idx2) Out[129]: Index([2.0, 3.0], dtype='float64') In [130]: idx1.symmetric_difference(idx2) Out[130]: Index([0.0, 2.0, 3.0], dtype='float64') ``` ### `Index.un...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
442ef41a-a507-5245-9f86-29c0f5c23a1a
changelog
pandas
pandas_whatsnew
0.19.0
57
DatetimeIndex(['2011-01-01 00:00:00+09:00', '2011-01-02 00:00:00+09:00', '2011-01-03 00:00:00+09:00'], dtype='datetime64[ns, Asia/Tokyo]', freq=None) ``` **New behavior**: ```None In [131]: pd.Index([1, 2, 3]).unique() Out[131]: Index([1, 2, 3], dtype='int64') In [132]: pd.DatetimeIndex(...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
fce8e880-b234-55bf-9ea0-bcd1f46d520a
changelog
pandas
pandas_whatsnew
0.19.0
58
in `MultiIndex` levels ([GH 13743](https://github.com/pandas-dev/pandas/issues/13743), [GH 13854](https://github.com/pandas-dev/pandas/issues/13854)). ```None In [133]: cat = pd.Categorical(["a", "b"], categories=list("bac")) In [134]: lvl1 = ["foo", "bar"] In [135]: midx = pd.MultiIndex.from_arrays([cat, lvl1]) In...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
6598df95-a04f-5e89-9dac-9f9e5f745180
changelog
pandas
pandas_whatsnew
0.19.0
59
As a consequence, `groupby` and `set_index` also preserve categorical dtypes in indexes ```None In [139]: df = pd.DataFrame({"A": [0, 1], "B": [10, 11], "C": cat}) In [140]: df_grouped = df.groupby(by=["A", "C"], observed=False).first() In [141]: df_set_idx = df.set_index(["A", "C"]) ``` **Previous behavior**: ```...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
3e175755-8cdc-5e8e-88a2-32f6cf960561
changelog
pandas
pandas_whatsnew
0.19.0
60
In [144]: df_set_idx.index.levels[1] Out[144]: CategoricalIndex(['b', 'a', 'c'], categories=['b', 'a', 'c'], ordered=False, dtype='category', name='C') In [145]: df_set_idx.reset_index().dtypes Out[145]: A int64 C category B int64 Length: 3, dtype: object ``` ### Function `read_csv` will progressivel...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
561579fa-6023-56ae-83ec-d2c13fd3ce17
changelog
pandas
pandas_whatsnew
0.19.0
61
([GH 12185](https://github.com/pandas-dev/pandas/issues/12185)). ```None In [146]: data = "A,B\n0,1\n2,3\n4,5\n6,7" ``` **Previous behavior**: ```None In [2]: pd.concat(pd.read_csv(StringIO(data), chunksize=2)) Out[2]: A B 0 0 1 1 2 3 0 4 5 1 6 7 ``` **New behavior**: ```None In [147]: pd.concat(pd.rea...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
d87429dd-8033-57bc-8d86-ec212349f6c7
changelog
pandas
pandas_whatsnew
0.19.0
62
Previously, sparse data were `float64` dtype by default, even if all inputs were of `int` or `bool` dtype. You had to specify `dtype` explicitly to create sparse data with `int64` dtype. Also, `fill_value` had to be specified explicitly because the default was `np.nan` which doesn’t appear in `int64` or `bool` data. `...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
a716dba4-6dae-53a1-b24c-77a6d40b54fe
changelog
pandas
pandas_whatsnew
0.19.0
63
In [148]: pd.arrays.SparseArray([1, 2, 0, 0], dtype=np.int64) Out[148]: [1, 2, 0, 0] Fill: 0 IntIndex Indices: array([0, 1], dtype=int32) In [149]: pd.arrays.SparseArray([True, False, False, False]) Out[149]: [True, False, False, False] Fill: False IntIndex Indices: array([0], dtype=int32) ``` See the [docs](../use...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
16d9e2ce-21f0-5e57-81ce-8d707a6ca428
changelog
pandas
pandas_whatsnew
0.19.0
64
Note that the limitation is applied to `fill_value` which default is `np.nan`. ```None In [7]: pd.SparseSeries([1., np.nan, 2., np.nan], fill_value=np.nan).astype(np.int64) Out[7]: ValueError: unable to coerce current fill_value nan to int64 dtype ``` #### Other sparse fixes[#](#other-sparse-fixes "Link to this headi...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
5bf8f42b-be4b-502b-a578-49059df60f7d
changelog
pandas
pandas_whatsnew
0.19.0
65
* Bug in `SparseDataFrame` in which `axis=None` did not default to `axis=0` ([GH 13048](https://github.com/pandas-dev/pandas/issues/13048)) * Bug in `SparseSeries` and `SparseDataFrame` creation with `object` dtype may raise `TypeError` ([GH 11633](https://github.com/pandas-dev/pandas/issues/11633)) * Bug in `SparseDat...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
b7c1baf3-5cc6-53b1-b596-0a3cf2ab150d
changelog
pandas
pandas_whatsnew
0.19.0
66
* Bug in `SparseSeries` slicing changes integer dtype to float ([GH 8292](https://github.com/pandas-dev/pandas/issues/8292)) * Bug in `SparseDataFarme` comparison ops may raise `TypeError` ([GH 13001](https://github.com/pandas-dev/pandas/issues/13001)) * Bug in `SparseDataFarme.isnull` raises `ValueError` ([GH 8276](ht...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
352057df-700d-555a-9408-3d58d0050092
changelog
pandas
pandas_whatsnew
0.19.0
67
* Bug in `SparseSeries` comparison with dense returns normal `Series` rather than `SparseSeries` ([GH 13999](https://github.com/pandas-dev/pandas/issues/13999)) ### Indexer dtype changes[#](#indexer-dtype-changes "Link to this heading") Note This change only affects 64 bit python running on Windows, and only affects...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
59e7e950-9d2f-5970-a265-b803fed0d2d9
changelog
pandas
pandas_whatsnew
0.19.0
68
`np.int_` is 32 bits, and `np.intp` is 64 bits. Changing this behavior improves performance for many operations on that platform. **Previous behavior**: ```None In [1]: i = pd.Index(['a', 'b', 'c']) In [2]: i.get_indexer(['b', 'b', 'c']).dtype Out[2]: dtype('int32') ``` **New behavior**: ```None In [1]: i = pd.Ind...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
bb60efc7-9410-55ef-a9bf-9042442ef038
changelog
pandas
pandas_whatsnew
0.19.0
69
* `Panel.to_sparse()` will raise a `NotImplementedError` exception when called ([GH 13778](https://github.com/pandas-dev/pandas/issues/13778)). * `Index.reshape()` will raise a `NotImplementedError` exception when called ([GH 12882](https://github.com/pandas-dev/pandas/issues/12882)). * `.filter()` enforces mutual excl...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
79a58c9f-191a-5503-91b0-67678d747325
changelog
pandas
pandas_whatsnew
0.19.0
70
* `__setitem__` will no longer apply a callable rhs as a function instead of storing it. Call `where` directly to get the previous behavior ([GH 13299](https://github.com/pandas-dev/pandas/issues/13299)). * Calls to `.sample()` will respect the random seed set via `numpy.random.seed(n)` ([GH 13161](https://github.com/p...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
42f4637f-ef91-540b-8a06-8b160d8c4d73
changelog
pandas
pandas_whatsnew
0.19.0
71
* Passing `Period` with multiple frequencies to normal `Index` now returns `Index` with `object` dtype ([GH 13664](https://github.com/pandas-dev/pandas/issues/13664)) * `PeriodIndex.fillna` with `Period` has different freq now coerces to `object` dtype ([GH 13664](https://github.com/pandas-dev/pandas/issues/13664)) * F...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
2e25361c-4b4c-50be-9c2b-1cec17cb1ab1
changelog
pandas
pandas_whatsnew
0.19.0
72
* `pd.read_csv()`, `pd.read_table()`, and `pd.read_hdf()` raise the builtin `FileNotFoundError` exception for Python 3.x when called on a nonexistent file; this is back-ported as `IOError` in Python 2.x ([GH 14086](https://github.com/pandas-dev/pandas/issues/14086)) * More informative exceptions are passed through the ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
f7558c51-5620-5e72-99d6-3109d9fb6826
changelog
pandas
pandas_whatsnew
0.19.0
73
* `.groupby.groups` will now return a dictionary of `Index` objects, rather than a dictionary of `np.ndarray` or `lists` ([GH 14293](https://github.com/pandas-dev/pandas/issues/14293)) ## Deprecations[#](#deprecations "Link to this heading") * `Series.reshape` and `Categorical.reshape` have been deprecated and will b...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
88b18486-831d-5f73-9d3d-ed7abd0a3fc3
changelog
pandas
pandas_whatsnew
0.19.0
74
* `pandas.core.datetools` module has been deprecated and will be removed in a subsequent release ([GH 14094](https://github.com/pandas-dev/pandas/issues/14094)) * `SparseList` has been deprecated and will be removed in a future version ([GH 13784](https://github.com/pandas-dev/pandas/issues/13784)) * `DataFrame.to_html...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
2dbf61e4-2e58-5299-a320-6c33daffa686
changelog
pandas
pandas_whatsnew
0.19.0
75
+ `as_recarray` has been deprecated and will be removed in a future version ([GH 13373](https://github.com/pandas-dev/pandas/issues/13373)) + `skip_footer` has been deprecated in favor of `skipfooter` and will be removed in a future version ([GH 13349](https://github.com/pandas-dev/pandas/issues/13349)) * top-level...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
74758840-30ec-5fbc-a9f1-1d6cea55e929
changelog
pandas
pandas_whatsnew
0.19.0
76
* `pd.tseries.util.isleapyear` has been deprecated and will be removed in a subsequent release. Datetime-likes now have a `.is_leap_year` property ([GH 13727](https://github.com/pandas-dev/pandas/issues/13727)) * `Panel4D` and `PanelND` constructors are deprecated and will be removed in a future version. The recommende...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
91ad1db1-a091-5d43-a2f2-d7d8fbdf32eb
changelog
pandas
pandas_whatsnew
0.19.0
77
* `Categorical.from_array` has been deprecated and will be removed in a future version ([GH 13854](https://github.com/pandas-dev/pandas/issues/13854)) ## Removal of prior version deprecations/changes[#](#removal-of-prior-version-deprecations-changes "Link to this heading") * The `SparsePanel` class has been removed (...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
dad1acd9-5878-5de3-bbca-b793113617df
changelog
pandas
pandas_whatsnew
0.19.0
78
* `DataFrame.to_csv()` has dropped the `engine` parameter, as was deprecated in 0.17.1 ([GH 11274](https://github.com/pandas-dev/pandas/issues/11274), [GH 13419](https://github.com/pandas-dev/pandas/issues/13419)) * `DataFrame.to_dict()` has dropped the `outtype` parameter in favor of `orient` ([GH 13627](https://githu...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
d1339793-a97f-5909-92a3-83e032bd594d
changelog
pandas
pandas_whatsnew
0.19.0
79
* `pd.Index` has dropped the `diff` method in favor of `difference` ([GH 13669](https://github.com/pandas-dev/pandas/issues/13669)) * `pd.DataFrame` has dropped the `to_wide` method in favor of `to_panel` ([GH 14039](https://github.com/pandas-dev/pandas/issues/14039)) * `Series.to_csv` has dropped the `nanRep` paramete...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
3bc93a61-d2c7-5d25-be4d-b643afb857a0
changelog
pandas
pandas_whatsnew
0.19.0
80
* Removal of the legacy time rules (offset aliases), deprecated since 0.17.0 (this has been alias since 0.8.0) ([GH 13590](https://github.com/pandas-dev/pandas/issues/13590), [GH 13868](https://github.com/pandas-dev/pandas/issues/13868)). Now legacy time rules raises `ValueError`. For the list of currently supported of...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
255dc8d5-f8fe-570c-873e-13f9fe45694e
changelog
pandas
pandas_whatsnew
0.19.0
81
## Performance improvements[#](#performance-improvements "Link to this heading") * Improved performance of sparse `IntIndex.intersect` ([GH 13082](https://github.com/pandas-dev/pandas/issues/13082)) * Improved performance of sparse arithmetic with `BlockIndex` when the number of blocks are large, though recommended to...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
f711bb05-e173-5672-a520-9cafd44ec3eb
changelog
pandas
pandas_whatsnew
0.19.0
82
* Improved performance of `Index` and `Series` `.duplicated` ([GH 10235](https://github.com/pandas-dev/pandas/issues/10235)) * Improved performance of `Index.difference` ([GH 12044](https://github.com/pandas-dev/pandas/issues/12044)) * Improved performance of `RangeIndex.is_monotonic_increasing` and `is_monotonic_decre...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
2be4612a-180a-50a8-9ea0-ffa2bb0b2a1f
changelog
pandas
pandas_whatsnew
0.19.0
83
* Unnecessary materializing of a MultiIndex when introspecting for memory usage ([GH 14308](https://github.com/pandas-dev/pandas/issues/14308)) ## Bug fixes[#](#bug-fixes "Link to this heading") * Bug in `groupby().shift()`, which could cause a segfault or corruption in rare circumstances when grouping by columns wit...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
5b56dc80-5cbd-5a60-9f6f-0366dea904f0
changelog
pandas
pandas_whatsnew
0.19.0
84
* Bug in area plot draws legend incorrectly if subplot is enabled or legend is moved after plot (matplotlib 1.5.0 is required to draw area plot legend properly) ([GH 9161](https://github.com/pandas-dev/pandas/issues/9161), [GH 13544](https://github.com/pandas-dev/pandas/issues/13544)) * Bug in `DataFrame` assignment wi...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
e70225e1-0697-5ba4-b709-1501f48fba5a
changelog
pandas
pandas_whatsnew
0.19.0
85
* Bug in `Categorical.from_codes()` where an unhelpful error was raised when an invalid `ordered` parameter was passed in ([GH 14058](https://github.com/pandas-dev/pandas/issues/14058)) * Bug in `Series` construction from a tuple of integers on windows not returning default dtype (int64) ([GH 13646](https://github.com/...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
af53f686-4b6d-5f78-9706-b4a15beb8738
changelog
pandas
pandas_whatsnew
0.19.0
86
* Regression in `Series.quantile` with nans (also shows up in `.median()` and `.describe()` ); furthermore now names the `Series` with the quantile ([GH 13098](https://github.com/pandas-dev/pandas/issues/13098), [GH 13146](https://github.com/pandas-dev/pandas/issues/13146)) * Bug in `SeriesGroupBy.transform` with datet...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
28edd9b5-37b1-5dcb-ba15-4d9a72e4a0a3
changelog
pandas
pandas_whatsnew
0.19.0
87
* Bug in `DatetimeIndex` and `Period` subtraction raises `ValueError` or `AttributeError` rather than `TypeError` ([GH 13078](https://github.com/pandas-dev/pandas/issues/13078)) * Bug in `Index` and `Series` created with `NaN` and `NaT` mixed data may not have `datetime64` dtype ([GH 13324](https://github.com/pandas-de...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
6d744811-28e9-5b25-b07d-36366c843e8f
changelog
pandas
pandas_whatsnew
0.19.0
88
* Bug in `.resample(..)` with a `PeriodIndex` not retaining its type or name with an empty `DataFrame` appropriately when empty ([GH 13212](https://github.com/pandas-dev/pandas/issues/13212)) * Bug in `groupby(..).apply(..)` when the passed function returns scalar values per group ([GH 13468](https://github.com/pandas-...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
352ad7b7-b2e1-54c5-b1d3-e19a98775faa
changelog
pandas
pandas_whatsnew
0.19.0
89
* Bug in `pd.read_hdf()` where attempting to load an HDF file with a single dataset, that had one or more categorical columns, failed unless the key argument was set to the name of the dataset. ([GH 13231](https://github.com/pandas-dev/pandas/issues/13231)) * Bug in `.rolling()` that allowed a negative integer window i...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
9070c7b4-24ee-5615-a60b-19bf4d4b77e9
changelog
pandas
pandas_whatsnew
0.19.0
90
* Bug in various index types, which did not propagate the name of passed index ([GH 12309](https://github.com/pandas-dev/pandas/issues/12309)) * Bug in `DatetimeIndex`, which did not honour the `copy=True` ([GH 13205](https://github.com/pandas-dev/pandas/issues/13205)) * Bug in `DatetimeIndex.is_normalized` returns inc...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
2070576c-0522-5feb-8153-f9297a322de1
changelog
pandas
pandas_whatsnew
0.19.0
91
* Bug in `pd.concat` and `.append` with the same timezone get reset to UTC ([GH 7795](https://github.com/pandas-dev/pandas/issues/7795)) * Bug in `Series` and `DataFrame` `.append` raises `AmbiguousTimeError` if data contains datetime near DST boundary ([GH 13626](https://github.com/pandas-dev/pandas/issues/13626)) * B...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
95804872-9d30-5842-8992-8664ffb4b073
changelog
pandas
pandas_whatsnew
0.19.0
92
* Bug in `MultiIndex.from_arrays` which didn’t check for input array lengths matching ([GH 13599](https://github.com/pandas-dev/pandas/issues/13599)) * Bug in `cartesian_product` and `MultiIndex.from_product` which may raise with empty input arrays ([GH 12258](https://github.com/pandas-dev/pandas/issues/12258)) * Bug i...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
907677e3-3fdc-5c5c-b826-115057086845
changelog
pandas
pandas_whatsnew
0.19.0
93
* Bug in `pd.read_csv()` with `engine='python'` which raised errors when a numpy array was passed in for `usecols` ([GH 12546](https://github.com/pandas-dev/pandas/issues/12546)) * Bug in `pd.read_csv()` where the index columns were being incorrectly parsed when parsed as dates with a `thousands` parameter ([GH 14066](...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
aaae2572-3ce9-53d2-811a-3eda996a396d
changelog
pandas
pandas_whatsnew
0.19.0
94
* Bug in `pd.read_csv()` with `engine='python'` in which trailing `NaN` values were not being parsed ([GH 13320](https://github.com/pandas-dev/pandas/issues/13320)) * Bug in `pd.read_csv()` with `engine='python'` when reading from a `tempfile.TemporaryFile` on Windows with Python 3 ([GH 13398](https://github.com/pandas...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
b0c5aaca-5c59-5e80-9238-cd314647c2d3
changelog
pandas
pandas_whatsnew
0.19.0
95
* Bug in `pd.read_csv()` with `engine='c'` in which fields were not properly cast to float when quoting was specified as non-numeric ([GH 13411](https://github.com/pandas-dev/pandas/issues/13411)) * Bug in `pd.read_csv()` in Python 2.x with non-UTF8 encoded, multi-character separated data ([GH 3404](https://github.com/...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
c240b279-cb10-5095-b1b7-c0d0e9d75452
changelog
pandas
pandas_whatsnew
0.19.0
96
* Bug in `pd.pivot_table()` where `margins_name` is ignored when `aggfunc` is a list ([GH 13354](https://github.com/pandas-dev/pandas/issues/13354)) * Bug in `pd.Series.str.zfill`, `center`, `ljust`, `rjust`, and `pad` when passing non-integers, did not raise `TypeError` ([GH 13598](https://github.com/pandas-dev/pandas...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
d905995b-4593-5b82-b539-09cad8acc39e
changelog
pandas
pandas_whatsnew
0.19.0
97
* Bug in `.fillna(value=np.nan)` incorrectly raises `KeyError` on a `category` dtyped `Series` ([GH 14021](https://github.com/pandas-dev/pandas/issues/14021)) * Bug in extension dtype creation where the created types were not is/identical ([GH 13285](https://github.com/pandas-dev/pandas/issues/13285)) * Bug in `.resamp...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
b55266d8-c613-50b9-bf5e-f17815cea705
changelog
pandas
pandas_whatsnew
0.19.0
98
* Bug in `Period` addition raises `TypeError` if `Period` is on right hand side ([GH 13069](https://github.com/pandas-dev/pandas/issues/13069)) * Bug in `Period` and `Series` or `Index` comparison raises `TypeError` ([GH 13200](https://github.com/pandas-dev/pandas/issues/13200)) * Bug in `pd.set_eng_float_format()` tha...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
a5f3398c-6a83-5b03-adb5-ed80402e0e76
changelog
pandas
pandas_whatsnew
0.19.0
99
* Bug in `.shift` raises `AmbiguousTimeError` if data contains datetime near DST boundary ([GH 13926](https://github.com/pandas-dev/pandas/issues/13926)) * Bug in `pd.read_hdf()` returns incorrect result when a `DataFrame` with a `categorical` column and a query which doesn’t match any values ([GH 13792](https://github...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
4131ec6e-52c2-5211-9650-dc170737119e
changelog
pandas
pandas_whatsnew
0.19.0
100
* Bug in `groupby` where `apply` returns different result depending on whether first result is `None` or not ([GH 12824](https://github.com/pandas-dev/pandas/issues/12824)) * Bug in `groupby(..).nth()` where the group key is included inconsistently if called after `.head()/.tail()` ([GH 12839](https://github.com/pandas...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
b16ff64a-ff9c-5caa-8ebd-26b60c88a080
changelog
pandas
pandas_whatsnew
0.19.0
101
* Bug in invalid datetime parsing in `to_datetime` and `DatetimeIndex` may raise `TypeError` rather than `ValueError` ([GH 11169](https://github.com/pandas-dev/pandas/issues/11169), [GH 11287](https://github.com/pandas-dev/pandas/issues/11287)) * Bug in `Index` created with tz-aware `Timestamp` and mismatched `tz` opti...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
8dbd5bcc-9414-567c-b9d9-8fb13df8dd40
changelog
pandas
pandas_whatsnew
0.19.0
102
* Bug in `Index` may ignore specified `datetime64` or `timedelta64` passed as `dtype` ([GH 13981](https://github.com/pandas-dev/pandas/issues/13981)) * Bug in `RangeIndex` can be created without no arguments rather than raises `TypeError` ([GH 13793](https://github.com/pandas-dev/pandas/issues/13793)) * Bug in `.value_...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
7648b527-3aef-5e94-8de6-3f603d987d05
changelog
pandas
pandas_whatsnew
0.19.0
103
* Bug in `pd.isnull()` `pd.notnull()` raise `TypeError` if input datetime-like has other unit than `ns` ([GH 13389](https://github.com/pandas-dev/pandas/issues/13389)) * Bug in `pd.merge()` may raise `TypeError` if input datetime-like has other unit than `ns` ([GH 13389](https://github.com/pandas-dev/pandas/issues/1338...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
20c2abd3-a63e-5d8e-b6f9-cbb210941e2a
changelog
pandas
pandas_whatsnew
0.19.0
104
* Bug in the CSS classes assigned to `DataFrame.style` for index names. Previously they were assigned `"col_heading level<n> col<c>"` where `n` was the number of levels + 1. Now they are assigned `"index_name level<n>"`, where `n` is the correct level for that MultiIndex. * Bug where `pd.read_gbq()` could throw `Import...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
51e7be06-26bc-5082-afef-e8f57f83e1c0
changelog
pandas
pandas_whatsnew
0.19.0
105
* Bug in `.to_excel()` when DataFrame contains a MultiIndex which contains a label with a NaN value ([GH 13511](https://github.com/pandas-dev/pandas/issues/13511)) * Bug in invalid frequency offset string like “D1”, “-2-3H” may not raise `ValueError` ([GH 13930](https://github.com/pandas-dev/pandas/issues/13930)) * Bug...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
b8cb5989-c52d-5efc-ae4a-a83235054d97
changelog
pandas
pandas_whatsnew
0.19.0
106
* Bug in using NumPy ufunc with `PeriodIndex` to add or subtract integer raise `IncompatibleFrequency`. Note that using standard operator like `+` or `-` is recommended, because standard operators use more efficient path ([GH 13980](https://github.com/pandas-dev/pandas/issues/13980)) * Bug in operations on `NaT` return...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
14faf965-0e0f-5a1e-83c7-45049122ec32
changelog
pandas
pandas_whatsnew
0.19.0
107
* Bug in assignment against datetime with timezone may not work if it contains datetime near DST boundary ([GH 14146](https://github.com/pandas-dev/pandas/issues/14146)) * Bug in `pd.eval()` and `HDFStore` query truncating long float literals with python 2 ([GH 14241](https://github.com/pandas-dev/pandas/issues/14241))...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
c22c708c-8503-5706-aa2d-de82f55296e2
changelog
pandas
pandas_whatsnew
0.19.0
108
* Bugs in `stack`, `get_dummies`, `make_axis_dummies` which don’t preserve categorical dtypes in (multi)indexes ([GH 13854](https://github.com/pandas-dev/pandas/issues/13854)) * `PeriodIndex` can now accept `list` and `array` which contains `pd.NaT` ([GH 13430](https://github.com/pandas-dev/pandas/issues/13430)) * Bug ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
81ffec87-6e2b-5a3e-a050-fffcedae7224
changelog
pandas
pandas_whatsnew
0.19.0
109
* Chris Warth * Christian Hudon * Christopher C. Aycock * Daniel Siladji + * Douglas McNeil * Drewrey Lupton + * Eduardo Blancas Reyes + * Elliot Marsden + * Evan Wright * Felix Marczinowski + * Francis T. O’Donovan * Geraint Duck + * Giacomo Ferroni + * Grant Roch + * Gábor Lipták * Haleemur Ali + * Hassan Shamim + * ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
7517b812-ec96-5c6c-84dc-4d0f6be6eed3
changelog
pandas
pandas_whatsnew
0.19.0
110
* Roger Thomas * Roy Keyes + * Russell Smith + * Sahil Dua + * Sanjiv Lobo + * Sašo Stanovnik + * Shawn Heide + * Sinhrks * Stephen Kappel + * Steve Choi + * Stewart Henderson + * Sudarshan Konge + * Thomas A Caswell * Tom Augspurger * Tom Bird + * Uwe Hoffmann + * WillAyd + * Xiang Zhang + * YG-Riku + * Yadunandan + *...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.0.md
e4018d63-42b1-55a8-9a40-0704579a12a2
changelog
pandas
pandas_whatsnew
0.19.1
0
# What's new in pandas 0.19.1 Source: https://pandas.pydata.org/docs/whatsnew/v0.19.1.html # Version 0.19.1 (November 3, 2016)[#](#version-0-19-1-november-3-2016 "Link to this heading") This is a minor bug-fix release from 0.19.0 and includes some small regression fixes, bug fixes and performance improvements. We re...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.1.md
5e9cbb25-2b8a-52d2-afea-144fa0920ad4
changelog
pandas
pandas_whatsnew
0.19.1
1
* Improved performance in `.to_json()` when `lines=True` ([GH 14408](https://github.com/pandas-dev/pandas/issues/14408)) * Improved performance in certain types of `loc` indexing with a MultiIndex ([GH 14551](https://github.com/pandas-dev/pandas/issues/14551)). ## Bug fixes[#](#bug-fixes "Link to this heading") * Sou...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.1.md
86036c27-4a4b-56da-8b94-0459fcb33a93
changelog
pandas
pandas_whatsnew
0.19.1
2
* Fixed regression in `Index.difference` where the `freq` of a `DatetimeIndex` was incorrectly set ([GH 14323](https://github.com/pandas-dev/pandas/issues/14323)) * Added back `pandas.core.common.array_equivalent` with a deprecation warning ([GH 14555](https://github.com/pandas-dev/pandas/issues/14555)). * Bug in `pd.r...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.1.md
40091413-a7c7-52dd-82eb-e0b18a4c885c
changelog
pandas
pandas_whatsnew
0.19.1
3
* Fixed regression in `DatetimeIndex._maybe_cast_slice_bound` when index is empty ([GH 14354](https://github.com/pandas-dev/pandas/issues/14354)). * Bug in localizing an ambiguous timezone when a boolean is passed ([GH 14402](https://github.com/pandas-dev/pandas/issues/14402)) * Bug in `TimedeltaIndex` addition with a ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.1.md
f3467f22-a2ae-5e17-a6f0-7799a8633a2c
changelog
pandas
pandas_whatsnew
0.19.1
4
* Bug in groupby-transform broadcasting that could cause incorrect dtype coercion ([GH 14457](https://github.com/pandas-dev/pandas/issues/14457)) * Bug in `Series.__setitem__` which allowed mutating read-only arrays ([GH 14359](https://github.com/pandas-dev/pandas/issues/14359)). * Bug in `DataFrame.insert` where multi...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.1.md
59ce1758-718a-5102-8725-d743bfc20e92
changelog
pandas
pandas_whatsnew
0.19.1
5
* Bug in `pd.concat` where `axis` cannot take string parameters `'rows'` or `'columns'` ([GH 14369](https://github.com/pandas-dev/pandas/issues/14369)) * Bug in `pd.concat` with dataframes heterogeneous in length and tuple `keys` ([GH 14438](https://github.com/pandas-dev/pandas/issues/14438)) * Bug in `MultiIndex.set_l...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.1.md
5fc4a2d0-d579-567a-b1e3-9d43f3df2fa7
changelog
pandas
pandas_whatsnew
0.19.1
6
* Bug in `pd.pivot_table` may raise `TypeError` or `ValueError` when `index` or `columns` is not scalar and `values` is not specified ([GH 14380](https://github.com/pandas-dev/pandas/issues/14380)) ## Contributors[#](#contributors "Link to this heading") A total of 30 people contributed patches to this release. Peo...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.1.md
4e913835-3b71-50ee-8aed-e954fd9d6265
changelog
pandas
pandas_whatsnew
0.19.2
0
# What's new in pandas 0.19.2 Source: https://pandas.pydata.org/docs/whatsnew/v0.19.2.html # Version 0.19.2 (December 24, 2016)[#](#version-0-19-2-december-24-2016 "Link to this heading") This is a minor bug-fix release in the 0.19.x series and includes some small regression fixes, bug fixes and performance improvem...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.2.md
f62ab900-c923-55b5-9703-c2e445a39505
changelog
pandas
pandas_whatsnew
0.19.2
1
* `pd.merge_asof()` gained `left_index`/`right_index` and `left_by`/`right_by` arguments ([GH 14253](https://github.com/pandas-dev/pandas/issues/14253)) * `pd.merge_asof()` can take multiple columns in `by` parameter and has specialized dtypes for better performance ([GH 13936](https://github.com/pandas-dev/pandas/issu...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.2.md
a140b29d-f7d8-5022-ae59-6a3de3609ac6
changelog
pandas
pandas_whatsnew
0.19.2
2
## Bug fixes[#](#bug-fixes "Link to this heading") * Compat with python 3.6 for pickling of some offsets ([GH 14685](https://github.com/pandas-dev/pandas/issues/14685)) * Compat with python 3.6 for some indexing exception types ([GH 14684](https://github.com/pandas-dev/pandas/issues/14684), [GH 14689](https://github.c...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.2.md
5a38d087-2b99-58d7-9ae7-0cbd916a2433
changelog
pandas
pandas_whatsnew
0.19.2
3
* Bug in `pd.read_csv` in which column indices for a dict-like `na_values` were not being respected ([GH 14203](https://github.com/pandas-dev/pandas/issues/14203)) * Bug in `pd.read_csv` where reading files fails, if the number of headers is equal to the number of lines in the file ([GH 14515](https://github.com/pandas...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.2.md
9caf7e09-4c3c-5b76-bc43-3badc2bd1f73
changelog
pandas
pandas_whatsnew
0.19.2
4
* Bug in `pd.read_csv` for the Python engine in which an unhelpful error message was being raised when `skipfooter` was not being respected by Python’s CSV library ([GH 13879](https://github.com/pandas-dev/pandas/issues/13879)) * Bug in `.fillna()` in which timezone aware datetime64 values were incorrectly rounded ([GH...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.2.md
14dfef21-96ad-54f2-9e04-8c4a6d8c9db0
changelog
pandas
pandas_whatsnew
0.19.2
5
(`sharex=True` or `ax.twinx()`) ([GH 13341](https://github.com/pandas-dev/pandas/issues/13341), [GH 14322](https://github.com/pandas-dev/pandas/issues/14322)). * Bug in not propagating exceptions in parsing invalid datetimes, noted in python 3.6 ([GH 14561](https://github.com/pandas-dev/pandas/issues/14561)) * Bug in...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.2.md
a583bf4e-a6f2-5081-9f04-75d60762b9ae
changelog
pandas
pandas_whatsnew
0.19.2
6
* Bug when writing to a `HDFStore` in `table` format with a `min_itemsize` value for the `index` and without asking to append ([GH 10381](https://github.com/pandas-dev/pandas/issues/10381)) * Bug in `Series.groupby.nunique()` raising an `IndexError` for an empty `Series` ([GH 12553](https://github.com/pandas-dev/pandas...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.2.md
15fbea37-ddef-5bdf-8bbc-245a12c0b563
changelog
pandas
pandas_whatsnew
0.19.2
7
* Bug in `DataFrame.combine_first()` for integer columns ([GH 14687](https://github.com/pandas-dev/pandas/issues/14687)). * Bug in `pd.read_csv()` in which the `dtype` parameter was not being respected for empty data ([GH 14712](https://github.com/pandas-dev/pandas/issues/14712)) * Bug in `pd.read_csv()` in which the `...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.2.md
0031f1aa-fcaf-5120-83f5-3a6b065918de
changelog
pandas
pandas_whatsnew
0.19.2
8
* Bug in `unstack()` if called with a list of column(s) as an argument, regardless of the dtypes of all columns, they get coerced to `object` ([GH 11847](https://github.com/pandas-dev/pandas/issues/11847)) ## Contributors[#](#contributors "Link to this heading") A total of 33 people contributed patches to this releas...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.19.2.md
534027c7-d391-5db8-9c91-ea030e49a8e5
changelog
pandas
pandas_whatsnew
0.20.1
0
# What's new in pandas 0.20.1 Source: https://pandas.pydata.org/docs/whatsnew/v0.20.0.html # Version 0.20.1 (May 5, 2017)[#](#version-0-20-1-may-5-2017 "Link to this heading") This is a major release from 0.19.2 and includes a number of API changes, deprecations, new features, enhancements, and performance improveme...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
4785fa11-ef52-52f0-8624-92dc5e0bdf4a
changelog
pandas
pandas_whatsnew
0.20.1
1
* Addition of an `IntervalIndex` and `Interval` scalar type, see [here](#whatsnew-0200-enhancements-intervalindex) * Improved user API when grouping by index levels in `.groupby()`, see [here](#whatsnew-0200-enhancements-groupby-access) * Improved support for `UInt64` dtypes, see [here](#whatsnew-0200-enhancements-uint...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
4c319401-e063-5555-b580-4d3775a75fd0
changelog
pandas
pandas_whatsnew
0.20.1
2
* Google BigQuery support now uses the `pandas-gbq` library, see [here](#whatsnew-0200-api-breaking-gbq) Warning pandas has changed the internal structure and layout of the code base. This can affect imports that are not from the top-level `pandas.*` namespace, please see the changes [here](#whatsnew-0200-privacy). ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
8bbb885a-d053-5759-b5ff-c58d39eac250
changelog
pandas
pandas_whatsnew
0.20.1
3
+ [GroupBy enhancements](#groupby-enhancements) + [Better support for compressed URLs in `read_csv`](#better-support-for-compressed-urls-in-read-csv) + [Pickle file IO now supports compression](#pickle-file-io-now-supports-compression) + [UInt64 support improved](#uint64-support-improved) + [GroupBy on catego...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
04cf121d-a8fc-5326-8d86-55faea45eae2
changelog
pandas
pandas_whatsnew
0.20.1
4
+ [Accessing datetime fields of Index now return Index](#accessing-datetime-fields-of-index-now-return-index) + [pd.unique will now be consistent with extension types](#pd-unique-will-now-be-consistent-with-extension-types) + [S3 file handling](#s3-file-handling) + [Partial string indexing changes](#partial-str...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
543ab94c-e8ed-5778-ae20-a1f1f370764b
changelog
pandas
pandas_whatsnew
0.20.1
5
+ [Index.intersection and inner join now preserve the order of the left Index](#index-intersection-and-inner-join-now-preserve-the-order-of-the-left-index) + [Pivot table always returns a DataFrame](#pivot-table-always-returns-a-dataframe) + [Other API changes](#other-api-changes) * [Reorganization of the library...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
6b266b7b-7f8e-5b34-bb11-f6543f861f83
changelog
pandas
pandas_whatsnew
0.20.1
6
* [Removal of prior version deprecations/changes](#removal-of-prior-version-deprecations-changes) * [Performance improvements](#performance-improvements) * [Bug fixes](#bug-fixes) + [Conversion](#conversion) + [Indexing](#indexing) + [IO](#io) + [Plotting](#plotting) + [GroupBy/resample/rolling](#groupby-res...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
b4e53c5c-6465-5211-8cba-cb5412ab6c7c
changelog
pandas
pandas_whatsnew
0.20.1
7
by using [`agg()`](../reference/api/pandas.DataFrame.agg.html#pandas.DataFrame.agg "pandas.DataFrame.agg") and [`transform()`](../reference/api/pandas.DataFrame.transform.html#pandas.DataFrame.transform "pandas.DataFrame.transform"). The full documentation is [here](../user_guide/basics.html#basics-aggregate) ([GH 1623...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
c0caa940-41f0-5f33-9f00-443d7a45eb45
changelog
pandas
pandas_whatsnew
0.20.1
8
2000-01-10 -1.039268 -0.370647 -1.157892 [10 rows x 3 columns] ``` One can operate using string function names, callables, lists, or dictionaries of these. Using a single function is equivalent to `.apply`. ```None In [4]: df.agg('sum') Out[4]: A -1.068226 B -1.387015 C -4.892029 Length: 3, dtype: float64 ``...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
c6571308-1734-59aa-83bf-19d485b1404d
changelog
pandas
pandas_whatsnew
0.20.1
9
The API also supports a `.transform()` function for broadcasting results. ```None In [7]: df.transform(['abs', lambda x: x - x.min()]) Out[7]: A B C abs <lambda> abs <lambda> abs <lambda> 2000-01-01 0.469112 1.604745 0...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
a65f51eb-8637-589e-a20c-e0338991d93e
changelog
pandas
pandas_whatsnew
0.20.1
10
When presented with mixed dtypes that cannot be aggregated, `.agg()` will only take the valid aggregations. This is similar to how groupby `.agg()` works. ([GH 15015](https://github.com/pandas-dev/pandas/issues/15015)) ```None In [8]: df = pd.DataFrame({'A': [1, 2, 3], ...: 'B': [1., 2., 3.], ...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
24038ce6-2050-5bb2-98bc-7086d7567635
changelog
pandas
pandas_whatsnew
0.20.1
11
The `'python'` engine for [`read_csv()`](../reference/api/pandas.read_csv.html#pandas.read_csv "pandas.read_csv"), as well as the [`read_fwf()`](../reference/api/pandas.read_fwf.html#pandas.read_fwf "pandas.read_fwf") function for parsing fixed-width text files and [`read_excel()`](../reference/api/pandas.read_excel.ht...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
7e2361ca-6072-52b0-8e12-2955b08c751e
changelog
pandas
pandas_whatsnew
0.20.1
12
### Method `.to_datetime()` has gained an `origin` parameter[#](#method-to-datetime-has-gained-an-origin-parameter "Link to this heading") [`to_datetime()`](../reference/api/pandas.to_datetime.html#pandas.to_datetime "pandas.to_datetime") has gained a new parameter, `origin`, to define a reference date from where to c...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
319d1fdf-c123-5165-a955-7b44da1b0a59
changelog
pandas
pandas_whatsnew
0.20.1
13
In [14]: pd.to_datetime([1, 2, 3], unit='D') Out[14]: DatetimeIndex(['1970-01-02', '1970-01-03', '1970-01-04'], dtype='datetime64[ns]', freq=None) ``` ### GroupBy enhancements[#](#groupby-enhancements "Link to this heading") Strings passed to `DataFrame.groupby()` as the `by` parameter may now reference either column...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
f153006e-d58d-5362-af6e-19c5a47ad9f4
changelog
pandas
pandas_whatsnew
0.20.1
14
bar one 1 0 two 1 1 baz one 1 2 two 1 3 foo one 2 4 two 2 5 qux one 3 6 two 3 7 [8 rows x 2 columns] In [19]: df.groupby(['second', 'A']).sum() Out[19]: B second A one 1 2 2 4 3 6 two 1 4 2 5 3...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
89c0a18c-e400-5964-9213-9ebc631935d5
changelog
pandas
pandas_whatsnew
0.20.1
15
URLs and paths are now inferred using their file extensions. Additionally, support for bz2 compression in the python 2 C-engine improved ([GH 14874](https://github.com/pandas-dev/pandas/issues/14874)). ```None In [20]: url = ('https://github.com/{repo}/raw/{branch}/{path}' ....: .format(repo='pandas-dev/pand...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
67d95327-950d-5d2d-bda1-6ec31ae0ad88
changelog
pandas
pandas_whatsnew
0.20.1
16
[`read_pickle()`](../reference/api/pandas.read_pickle.html#pandas.read_pickle "pandas.read_pickle"), [`DataFrame.to_pickle()`](../reference/api/pandas.DataFrame.to_pickle.html#pandas.DataFrame.to_pickle "pandas.DataFrame.to_pickle") and [`Series.to_pickle()`](../reference/api/pandas.Series.to_pickle.html#pandas.Series....
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
fe1df1cc-ff31-5899-8e8a-35408d1b5ff6
changelog
pandas
pandas_whatsnew
0.20.1
17
0 -1.344312 foo 2013-01-01 00:00:00 1 0.844885 foo 2013-01-01 00:00:01 2 1.075770 foo 2013-01-01 00:00:02 3 -0.109050 foo 2013-01-01 00:00:03 4 1.643563 foo 2013-01-01 00:00:04 [5 rows x 3 columns] ``` The default is to infer the compression type from the extension (`compression='infer'`): ```None In [28]: d...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
a1ba5b42-2472-5b79-a12b-d0d7d1a0a2b6
changelog
pandas
pandas_whatsnew
0.20.1
18
### UInt64 support improved[#](#uint64-support-improved "Link to this heading") pandas has significantly improved support for operations involving unsigned, or purely non-negative, integers. Previously, handling these integers would result in improper rounding or data-type casting, leading to incorrect results. Notabl...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md
022d2534-7705-5d2d-84bc-ff8b5c540629
changelog
pandas
pandas_whatsnew
0.20.1
19
* Bug in `DataFrame` construction in which unsigned 64-bit integer elements were being converted to objects ([GH 14881](https://github.com/pandas-dev/pandas/issues/14881)) * Bug in `pd.read_csv()` in which unsigned 64-bit integer elements were being improperly converted to the wrong data types ([GH 14983](https://githu...
large_dataset/raw/changelog/pandas_whatsnew/whatsnew_0.20.1.md