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/v0.15.0.rst
+6-6
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
.. _whatsnew_0150:
2
2
3
-
v0.15.0 (October 18, 2014)
4
-
--------------------------
3
+
Version 0.15.0 (October 18, 2014)
4
+
---------------------------------
5
5
6
6
{{ header }}
7
7
@@ -105,7 +105,7 @@ For full docs, see the :ref:`categorical introduction <categorical>` and the
105
105
106
106
.. _whatsnew_0150.timedeltaindex:
107
107
108
-
TimedeltaIndex/Scalar
108
+
TimedeltaIndex/scalar
109
109
^^^^^^^^^^^^^^^^^^^^^
110
110
111
111
We introduce a new scalar type ``Timedelta``, which is a subclass of ``datetime.timedelta``, and behaves in a similar manner,
@@ -247,8 +247,8 @@ Additionally :meth:`~pandas.DataFrame.memory_usage` is an available method for a
247
247
248
248
.. _whatsnew_0150.dt:
249
249
250
-
.dt accessor
251
-
^^^^^^^^^^^^
250
+
Series.dt accessor
251
+
^^^^^^^^^^^^^^^^^^
252
252
253
253
``Series`` has gained an accessor to succinctly return datetime like properties for the *values* of the Series, if its a datetime/period like Series. (:issue:`7207`)
254
254
This will return a Series, indexed like the existing Series. See the :ref:`docs <basics.dt_accessors>`
- Added support for a ``chunksize`` parameter to ``to_sql`` function. This allows DataFrame to be written in chunks and avoid packet-size overflow errors (:issue:`8062`).
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.17.0.rst
+6-6
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
.. _whatsnew_0170:
2
2
3
-
v0.17.0 (October 9, 2015)
4
-
-------------------------
3
+
Version 0.17.0 (October 9, 2015)
4
+
--------------------------------
5
5
6
6
{{ header }}
7
7
@@ -181,8 +181,8 @@ Each method signature only includes relevant arguments. Currently, these are lim
181
181
Additional methods for ``dt`` accessor
182
182
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
183
183
184
-
strftime
185
-
""""""""
184
+
Series.dt.strftime
185
+
""""""""""""""""""
186
186
187
187
We are now supporting a ``Series.dt.strftime`` method for datetime-likes to generate a formatted string (:issue:`10110`). Examples:
188
188
@@ -202,8 +202,8 @@ We are now supporting a ``Series.dt.strftime`` method for datetime-likes to gene
202
202
203
203
The string format is as the python standard library and details can be found `here <https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior>`_
204
204
205
-
total_seconds
206
-
"""""""""""""
205
+
Series.dt.total_seconds
206
+
"""""""""""""""""""""""
207
207
208
208
``pd.Series`` of type ``timedelta64`` has new method ``.dt.total_seconds()`` returning the duration of the timedelta in seconds (:issue:`10817`)
- :meth:`Groupby.groups` now returns an abbreviated representation when called on large dataframes (:issue:`1135`)
176
176
- ``loc`` lookups with an object-dtype :class:`Index` and an integer key will now raise ``KeyError`` instead of ``TypeError`` when key is missing (:issue:`31905`)
177
-
- Using a :func:`pandas.api.indexers.BaseIndexer` with ``std``, ``var``, ``count``, ``skew``, ``cov``, ``corr`` will now raise a ``NotImplementedError`` (:issue:`32865`)
178
-
- Using a :func:`pandas.api.indexers.BaseIndexer` with ``min``, ``max`` will now return correct results for any monotonic :func:`pandas.api.indexers.BaseIndexer` descendant (:issue:`32865`)
177
+
- Using a :func:`pandas.api.indexers.BaseIndexer` with ``skew``, ``cov``, ``corr`` will now raise a ``NotImplementedError`` (:issue:`32865`)
178
+
- Using a :func:`pandas.api.indexers.BaseIndexer` with ``count``, ``min``, ``max`` will now return correct results for any monotonic :func:`pandas.api.indexers.BaseIndexer` descendant (:issue:`32865`)
179
179
- Added a :func:`pandas.api.indexers.FixedForwardWindowIndexer` class to support forward-looking windows during ``rolling`` operations.
180
180
-
181
181
@@ -458,6 +458,7 @@ Datetimelike
458
458
- Bug in :class:`Timestamp` arithmetic when adding or subtracting a ``np.ndarray`` with ``timedelta64`` dtype (:issue:`33296`)
459
459
- Bug in :meth:`DatetimeIndex.to_period` not infering the frequency when called with no arguments (:issue:`33358`)
460
460
- Bug in :meth:`DatetimeIndex.tz_localize` incorrectly retaining ``freq`` in some cases where the original freq is no longer valid (:issue:`30511`)
461
+
- Bug in :meth:`DatetimeIndex.intersection` losing ``freq`` and timezone in some cases (:issue:`33604`)
461
462
462
463
Timedelta
463
464
^^^^^^^^^
@@ -525,6 +526,7 @@ Indexing
525
526
- Bug in `Series.__getitem__` with an integer key and a :class:`MultiIndex` with leading integer level failing to raise ``KeyError`` if the key is not present in the first level (:issue:`33355`)
526
527
- Bug in :meth:`DataFrame.iloc` when slicing a single column-:class:`DataFrame`` with ``ExtensionDtype`` (e.g. ``df.iloc[:, :1]``) returning an invalid result (:issue:`32957`)
527
528
- Bug in :meth:`DatetimeIndex.insert` and :meth:`TimedeltaIndex.insert` causing index ``freq`` to be lost when setting an element into an empty :class:`Series` (:issue:33573`)
529
+
- Bug in :meth:`Series.__setitem__` with an :class:`IntervalIndex` and a list-like key of integers (:issue:`33473`)
528
530
529
531
Missing
530
532
^^^^^^^
@@ -576,6 +578,8 @@ I/O
576
578
- Bug in :meth:`read_excel` did not correctly handle multiple embedded spaces in OpenDocument text cells. (:issue:`32207`)
577
579
- Bug in :meth:`read_json` was raising ``TypeError`` when reading a list of booleans into a Series. (:issue:`31464`)
578
580
- Bug in :func:`pandas.io.json.json_normalize` where location specified by `record_path` doesn't point to an array. (:issue:`26284`)
581
+
- :func:`pandas.read_hdf` has a more explicit error message when loading an
582
+
unsupported HDF file (:issue:`9539`)
579
583
580
584
Plotting
581
585
^^^^^^^^
@@ -598,6 +602,7 @@ Groupby/resample/rolling
598
602
- Bug in :meth:`DataFrameGroupBy.agg` with dictionary input losing ``ExtensionArray`` dtypes (:issue:`32194`)
599
603
- Bug in :meth:`DataFrame.resample` where an ``AmbiguousTimeError`` would be raised when the resulting timezone aware :class:`DatetimeIndex` had a DST transition at midnight (:issue:`25758`)
600
604
- Bug in :meth:`DataFrame.groupby` where a ``ValueError`` would be raised when grouping by a categorical column with read-only categories and ``sort=False`` (:issue:`33410`)
605
+
- Bug in :meth:`GroupBy.first` and :meth:`GroupBy.last` where None is not preserved in object dtype (:issue:`32800`)
0 commit comments