You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.2.0.rst
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -308,6 +308,7 @@ Other enhancements
308
308
- Improved error reporting for subsetting columns of a :class:`.DataFrameGroupBy` with ``axis=1`` (:issue:`37725`)
309
309
- Implement method ``cross`` for :meth:`DataFrame.merge` and :meth:`DataFrame.join` (:issue:`5401`)
310
310
- When :func:`read_csv/sas/json` are called with ``chuncksize``/``iterator`` they can be used in a ``with`` statement as they return context-managers (:issue:`38225`)
311
+
- Augmented the list of named colors available for styling Excel exports, enabling all of CSS4 colors (:issue:`38247`)
- :meth:`read_fwf` was inferring compression with ``compression=None`` which was not consistent with the other :meth:``read_*`` functions (:issue:`37909`)
746
747
- :meth:`DataFrame.to_html` was ignoring ``formatters`` argument for ``ExtensionDtype`` columns (:issue:`36525`)
747
748
- Bumped minimum xarray version to 0.12.3 to avoid reference to the removed ``Panel`` class (:issue:`27101`)
749
+
- :meth:`DataFrame.to_csv` was re-opening file-like handles that also implement ``os.PathLike`` (:issue:`38125`)
For `optional libraries <https://dev.pandas.io/docs/install.html#dependencies>`_ the general recommendation is to use the latest version.
62
+
The following table lists the lowest version per library that is currently being tested throughout the development of pandas.
63
+
Optional libraries below the lowest tested version may still work, but are not considered supported.
64
+
65
+
+-----------------+-----------------+---------+
66
+
| Package | Minimum Version | Changed |
67
+
+=================+=================+=========+
68
+
| beautifulsoup4 | 4.6.0 ||
69
+
+-----------------+-----------------+---------+
70
+
| fastparquet | 0.3.2 ||
71
+
+-----------------+-----------------+---------+
72
+
| fsspec | 0.7.4 ||
73
+
+-----------------+-----------------+---------+
74
+
| gcsfs | 0.6.0 ||
75
+
+-----------------+-----------------+---------+
76
+
| lxml | 4.3.0 ||
77
+
+-----------------+-----------------+---------+
78
+
| matplotlib | 2.2.3 ||
79
+
+-----------------+-----------------+---------+
80
+
| numba | 0.46.0 ||
81
+
+-----------------+-----------------+---------+
82
+
| openpyxl | 2.6.0 ||
83
+
+-----------------+-----------------+---------+
84
+
| pyarrow | 0.15.0 ||
85
+
+-----------------+-----------------+---------+
86
+
| pymysql | 0.7.11 ||
87
+
+-----------------+-----------------+---------+
88
+
| pytables | 3.5.1 ||
89
+
+-----------------+-----------------+---------+
90
+
| s3fs | 0.4.0 ||
91
+
+-----------------+-----------------+---------+
92
+
| scipy | 1.2.0 ||
93
+
+-----------------+-----------------+---------+
94
+
| sqlalchemy | 1.2.8 ||
95
+
+-----------------+-----------------+---------+
96
+
| tabulate | 0.8.7 | X |
97
+
+-----------------+-----------------+---------+
98
+
| xarray | 0.12.0 ||
99
+
+-----------------+-----------------+---------+
100
+
| xlrd | 1.2.0 ||
101
+
+-----------------+-----------------+---------+
102
+
| xlsxwriter | 1.0.2 ||
103
+
+-----------------+-----------------+---------+
104
+
| xlwt | 1.3.0 ||
105
+
+-----------------+-----------------+---------+
106
+
| pandas-gbq | 0.12.0 ||
107
+
+-----------------+-----------------+---------+
108
+
109
+
See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for more.
41
110
42
111
.. _whatsnew_130.api.other:
43
112
@@ -86,7 +155,7 @@ Categorical
86
155
87
156
Datetimelike
88
157
^^^^^^^^^^^^
89
-
158
+
- Bug in :class:`DataFrame` and :class:`Series` constructors sometimes dropping nanoseconds from :class:`Timestamp` (resp. :class:`Timedelta`) ``data``, with ``dtype=datetime64[ns]`` (resp. ``timedelta64[ns]``) (:issue:`38032`)
90
159
-
91
160
-
92
161
@@ -127,7 +196,9 @@ Interval
127
196
128
197
Indexing
129
198
^^^^^^^^
199
+
- Bug in :meth:`CategoricalIndex.get_indexer` failing to raise ``InvalidIndexError`` when non-unique (:issue:`38372`)
130
200
- Bug in inserting many new columns into a :class:`DataFrame` causing incorrect subsequent indexing behavior (:issue:`38380`)
201
+
- Bug in :meth:`DataFrame.iloc.__setitem__` and :meth:`DataFrame.loc.__setitem__` with mixed dtypes when setting with a dictionary value (:issue:`38335`)
131
202
-
132
203
-
133
204
@@ -146,7 +217,11 @@ MultiIndex
146
217
I/O
147
218
^^^
148
219
149
-
-
220
+
- Bug in :func:`read_csv` interpreting ``NA`` value as comment, when ``NA`` does contain the comment string fixed for ``engine="python"`` (:issue:`34002`)
221
+
- Bug in :func:`read_csv` raising ``IndexError`` with multiple header columns and ``index_col`` specified when file has no data rows (:issue:`38292`)
222
+
- Bug in :func:`read_csv` not accepting ``usecols`` with different length than ``names`` for ``engine="python"`` (:issue:`16469`)
223
+
- Bug in :func:`read_csv` raising ``TypeError`` when ``names`` and ``parse_dates`` is specified for ``engine="c"`` (:issue:`33699`)
224
+
- Allow custom error values for parse_dates argument of :func:`read_sql`, :func:`read_sql_query` and :func:`read_sql_table` (:issue:`35185`)
0 commit comments