Skip to content

Commit b16974a

Browse files
committed
DOC: whatsnew typos
1 parent d5d5a71 commit b16974a

File tree

3 files changed

+22
-19
lines changed

3 files changed

+22
-19
lines changed

doc/source/api.rst

+3
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ HDFStore: PyTables (HDF5)
9999
HDFStore.get
100100
HDFStore.select
101101
HDFStore.info
102+
HDFStore.keys
102103

103104
Feather
104105
~~~~~~~
@@ -1687,6 +1688,7 @@ MultiIndex Components
16871688
MultiIndex.swaplevel
16881689
MultiIndex.reorder_levels
16891690
MultiIndex.remove_unused_levels
1691+
MultiIndex.unique
16901692

16911693
MultiIndex Selecting
16921694
~~~~~~~~~~~~~~~~~~~~
@@ -2206,6 +2208,7 @@ Computations / Descriptive Stats
22062208
GroupBy.ohlc
22072209
GroupBy.prod
22082210
GroupBy.rank
2211+
GroupBy.pct_change
22092212
GroupBy.size
22102213
GroupBy.sem
22112214
GroupBy.std

doc/source/install.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Instructions for installing from source,
1515
`PyPI <http://pypi.python.org/pypi/pandas>`__, `ActivePython <https://www.activestate.com/activepython/downloads>`__, various Linux distributions, or a
1616
`development version <http://github.com/pandas-dev/pandas>`__ are also provided.
1717

18-
.. _install.dropping_27
18+
.. _install.dropping_27:
1919

2020
Plan for dropping Python 2.7
2121
----------------------------
@@ -162,8 +162,8 @@ pandas can be installed via pip from
162162
Installing with ActivePython
163163
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164164

165-
Installation instructions for
166-
`ActivePython <https://www.activestate.com/activepython>`__ can be found
165+
Installation instructions for
166+
`ActivePython <https://www.activestate.com/activepython>`__ can be found
167167
`here <https://www.activestate.com/activepython/downloads>`__. Versions
168168
2.7 and 3.5 include pandas.
169169

doc/source/whatsnew/v0.23.0.txt

+16-16
Original file line numberDiff line numberDiff line change
@@ -759,19 +759,19 @@ Datetimelike API Changes
759759
^^^^^^^^^^^^^^^^^^^^^^^^
760760

761761
- The default ``Timedelta`` constructor now accepts an ``ISO 8601 Duration`` string as an argument (:issue:`19040`)
762+
- Subtracting ``NaT`` from a :class:`Series` with ``dtype='datetime64[ns]'`` returns a ``Series`` with ``dtype='timedelta64[ns]'`` instead of ``dtype='datetime64[ns]'`` (:issue:`18808`)
762763
- Addition or subtraction of ``NaT`` from :class:`TimedeltaIndex` will return ``TimedeltaIndex`` instead of ``DatetimeIndex`` (:issue:`19124`)
763764
- :func:`DatetimeIndex.shift` and :func:`TimedeltaIndex.shift` will now raise ``NullFrequencyError`` (which subclasses ``ValueError``, which was raised in older versions) when the index object frequency is ``None`` (:issue:`19147`)
764-
- Addition and subtraction of ``NaN`` from a :class:`Series` with ``dtype='timedelta64[ns]'`` will raise a ``TypeError` instead of treating the ``NaN`` as ``NaT`` (:issue:`19274`)
765+
- Addition and subtraction of ``NaN`` from a :class:`Series` with ``dtype='timedelta64[ns]'`` will raise a ``TypeError`` instead of treating the ``NaN`` as ``NaT`` (:issue:`19274`)
765766
- ``NaT`` division with :class:`datetime.timedelta` will now return ``NaN`` instead of raising (:issue:`17876`)
767+
- Operations between a :class:`Series` with dtype ``dtype='datetime64[ns]'`` and a :class:`PeriodIndex` will correctly raises ``TypeError`` (:issue:`18850`)
768+
- Subtraction of :class:`Series` with timezone-aware ``dtype='datetime64[ns]'`` with mis-matched timezones will raise ``TypeError`` instead of ``ValueError`` (:issue:`18817`)
766769
- :class:`Timestamp` will no longer silently ignore unused or invalid ``tz`` or ``tzinfo`` keyword arguments (:issue:`17690`)
767770
- :class:`Timestamp` will no longer silently ignore invalid ``freq`` arguments (:issue:`5168`)
768771
- :class:`CacheableOffset` and :class:`WeekDay` are no longer available in the ``pandas.tseries.offsets`` module (:issue:`17830`)
769772
- ``pandas.tseries.frequencies.get_freq_group()`` and ``pandas.tseries.frequencies.DAYS`` are removed from the public API (:issue:`18034`)
770773
- :func:`Series.truncate` and :func:`DataFrame.truncate` will raise a ``ValueError`` if the index is not sorted instead of an unhelpful ``KeyError`` (:issue:`17935`)
771774
- Restricted ``DateOffset`` keyword arguments. Previously, ``DateOffset`` subclasses allowed arbitrary keyword arguments which could lead to unexpected behavior. Now, only valid arguments will be accepted. (:issue:`17176`, :issue:`18226`).
772-
- Subtracting ``NaT`` from a :class:`Series` with ``dtype='datetime64[ns]'`` returns a ``Series`` with ``dtype='timedelta64[ns]'`` instead of ``dtype='datetime64[ns]'`` (:issue:`18808`)
773-
- Operations between a :class:`Series` with dtype ``dtype='datetime64[ns]'`` and a :class:`PeriodIndex` will correctly raises ``TypeError`` (:issue:`18850`)
774-
- Subtraction of :class:`Series` with timezone-aware ``dtype='datetime64[ns]'`` with mis-matched timezones will raise ``TypeError`` instead of ``ValueError`` (:issue:`18817`)
775775
- :func:`pandas.merge` provides a more informative error message when trying to merge on timezone-aware and timezone-naive columns (:issue:`15800`)
776776
- For :class:`DatetimeIndex` and :class:`TimedeltaIndex` with ``freq=None``, addition or subtraction of integer-dtyped array or ``Index`` will raise ``NullFrequencyError`` instead of ``TypeError`` (:issue:`19895`)
777777
- :class:`Timestamp` constructor now accepts a `nanosecond` keyword or positional argument (:issue:`18898`)
@@ -907,6 +907,7 @@ Performance Improvements
907907
- Improved performance of :func:`pandas.core.groupby.GroupBy.ffill` and :func:`pandas.core.groupby.GroupBy.bfill` (:issue:`11296`)
908908
- Improved performance of :func:`pandas.core.groupby.GroupBy.any` and :func:`pandas.core.groupby.GroupBy.all` (:issue:`15435`)
909909
- Improved performance of :func:`pandas.core.groupby.GroupBy.pct_change` (:issue:`19165`)
910+
- Fixed a performance regression for :func:`GroupBy.nth` and :func:`GroupBy.last` with some object columns (:issue:`19283`)
910911

911912
.. _whatsnew_0230.docs:
912913

@@ -922,12 +923,12 @@ There were too many simultaneous contributions to include a release note for eac
922923
improvement, but this `GitHub search`_ should give you an idea of how many docstrings
923924
were improved.
924925

925-
Special thanks to Marc Garcia for organizing the sprint. For more information,
926+
Special thanks to `Marc Garcia`_ for organizing the sprint. For more information,
926927
read the `NumFOCUS blogpost`_ recapping the sprint.
927928

928929
.. _GitHub search: https://github.com/pandas-dev/pandas/pulls?utf8=%E2%9C%93&q=is%3Apr+label%3ADocs+created%3A2018-03-10..2018-03-15+
929930
.. _NumFOCUS blogpost: https://www.numfocus.org/blog/worldwide-pandas-sprint/
930-
931+
.. _Marc Garica: https://github.com/datapythonista
931932

932933
- Changed spelling of "numpy" to "NumPy", and "python" to "Python". (:issue:`19017`)
933934
- Consistency when introducing code samples, using either colon or period.
@@ -1007,7 +1008,7 @@ Timedelta
10071008
- Bug in :func:`Timedelta.__add__`, :func:`Timedelta.__sub__` where adding or subtracting a ``np.timedelta64`` object would return another ``np.timedelta64`` instead of a ``Timedelta`` (:issue:`19738`)
10081009
- Bug in :func:`Timedelta.__floordiv__`, :func:`Timedelta.__rfloordiv__` where operating with a ``Tick`` object would raise a ``TypeError`` instead of returning a numeric value (:issue:`19738`)
10091010
- Bug in :func:`Period.asfreq` where periods near ``datetime(1, 1, 1)`` could be converted incorrectly (:issue:`19643`, :issue:`19834`)
1010-
- Bug in :func:`Timedelta.total_seconds()` causing precision errors i.e. ``Timedelta('30S').total_seconds()==30.000000000000004`` (:issue:`19458`)
1011+
- Bug in :func:`Timedelta.total_seconds()` causing precision errors, for example ``Timedelta('30S').total_seconds()==30.000000000000004`` (:issue:`19458`)
10111012
- Bug in :func:`Timedelta.__rmod__` where operating with a ``numpy.timedelta64`` returned a ``timedelta64`` object instead of a ``Timedelta`` (:issue:`19820`)
10121013
- Multiplication of :class:`TimedeltaIndex` by ``TimedeltaIndex`` will now raise ``TypeError`` instead of raising ``ValueError`` in cases of length mis-match (:issue:`19333`)
10131014
- Bug in indexing a :class:`TimedeltaIndex` with a ``np.timedelta64`` object which was raising a ``TypeError`` (:issue:`20393`)
@@ -1059,7 +1060,7 @@ Indexing
10591060

10601061
- Bug in :class:`Index` construction from list of mixed type tuples (:issue:`18505`)
10611062
- Bug in :func:`Index.drop` when passing a list of both tuples and non-tuples (:issue:`18304`)
1062-
- Bug in :meth:`~DataFrame.drop`, :meth:`~Panel.drop`, :meth:`~Series.drop`, :meth:`~Index.drop` where no ``KeyError`` is raised when dropping a non-existent element from an axis that contains duplicates (:issue:`19186`)
1063+
- Bug in :func:`DataFrame.drop`, :meth:`Panel.drop`, :meth:`Series.drop`, :meth:`Index.drop` where no ``KeyError`` is raised when dropping a non-existent element from an axis that contains duplicates (:issue:`19186`)
10631064
- Bug in indexing a datetimelike ``Index`` that raised ``ValueError`` instead of ``IndexError`` (:issue:`18386`).
10641065
- :func:`Index.to_series` now accepts ``index`` and ``name`` kwargs (:issue:`18699`)
10651066
- :func:`DatetimeIndex.to_series` now accepts ``index`` and ``name`` kwargs (:issue:`18699`)
@@ -1069,7 +1070,7 @@ Indexing
10691070
- Bug in :class:`IntervalIndex` where empty and purely NA data was constructed inconsistently depending on the construction method (:issue:`18421`)
10701071
- Bug in :func:`IntervalIndex.symmetric_difference` where the symmetric difference with a non-``IntervalIndex`` did not raise (:issue:`18475`)
10711072
- Bug in :class:`IntervalIndex` where set operations that returned an empty ``IntervalIndex`` had the wrong dtype (:issue:`19101`)
1072-
- Bug in :meth:`DataFrame.drop_duplicates` where no ``KeyError`` is raised when passing in columns that don't exist on the ``DataFrame`` (issue:`19726`)
1073+
- Bug in :meth:`DataFrame.drop_duplicates` where no ``KeyError`` is raised when passing in columns that don't exist on the ``DataFrame`` (:issue:`19726`)
10731074
- Bug in ``Index`` subclasses constructors that ignore unexpected keyword arguments (:issue:`19348`)
10741075
- Bug in :meth:`Index.difference` when taking difference of an ``Index`` with itself (:issue:`20040`)
10751076
- Bug in :meth:`DataFrame.first_valid_index` and :meth:`DataFrame.last_valid_index` in presence of entire rows of NaNs in the middle of values (:issue:`20499`).
@@ -1109,7 +1110,7 @@ I/O
11091110
- Bug in :meth:`pandas.io.stata.StataReader.value_labels` raising an ``AttributeError`` when called on very old files. Now returns an empty dict (:issue:`19417`)
11101111
- Bug in :func:`read_pickle` when unpickling objects with :class:`TimedeltaIndex` or :class:`Float64Index` created with pandas prior to version 0.20 (:issue:`19939`)
11111112
- Bug in :meth:`pandas.io.json.json_normalize` where subrecords are not properly normalized if any subrecords values are NoneType (:issue:`20030`)
1112-
- Bug in ``usecols`` parameter in :func:`pandas.io.read_csv` and :func:`pandas.io.read_table` where error is not raised correctly when passing a string. (:issue:`20529`)
1113+
- Bug in ``usecols`` parameter in :func:`read_csv` where error is not raised correctly when passing a string. (:issue:`20529`)
11131114
- Bug in :func:`HDFStore.keys` when reading a file with a softlink causes exception (:issue:`20523`)
11141115

11151116
Plotting
@@ -1133,19 +1134,18 @@ Groupby/Resample/Rolling
11331134
- Bug in :func:`DataFrame.groupby` where aggregation by ``first``/``last``/``min``/``max`` was causing timestamps to lose precision (:issue:`19526`)
11341135
- Bug in :func:`DataFrame.transform` where particular aggregation functions were being incorrectly cast to match the dtype(s) of the grouped data (:issue:`19200`)
11351136
- Bug in :func:`DataFrame.groupby` passing the `on=` kwarg, and subsequently using ``.apply()`` (:issue:`17813`)
1136-
- Bug in :func:`DataFrame.resample().aggregate` not raising a ``KeyError`` when aggregating a non-existent column (:issue:`16766`, :issue:`19566`)
1137-
- Fixed a performance regression for ``GroupBy.nth`` and ``GroupBy.last`` with some object columns (:issue:`19283`)
1137+
- Bug in :func:`DataFrame.resample().aggregate <pandas.core.resample.Resampler.aggregate>` not raising a ``KeyError`` when aggregating a non-existent column (:issue:`16766`, :issue:`19566`)
11381138
- Bug in :func:`DataFrameGroupBy.cumsum` and :func:`DataFrameGroupBy.cumprod` when ``skipna`` was passed (:issue:`19806`)
1139-
- Bug in :func:`Dataframe.resample` that dropped timezone information (:issue:`13238`)
1139+
- Bug in :func:`DataFrame.resample` that dropped timezone information (:issue:`13238`)
11401140
- Bug in :func:`DataFrame.groupby` where transformations using ``np.all`` and ``np.any`` were raising a ``ValueError`` (:issue:`20653`)
11411141

11421142
Sparse
11431143
^^^^^^
11441144

1145-
- Bug in which creating a ``SparseDataFrame`` from a dense ``Series`` or an unsupported type raised an uncontrolled exception (:issue:`19374`)
1145+
- Bug in which creating a :class:`SparseDataFrame` from a dense ``Series`` or an unsupported type raised an uncontrolled exception (:issue:`19374`)
11461146
- Bug in :class:`SparseDataFrame.to_csv` causing exception (:issue:`19384`)
11471147
- Bug in :class:`SparseSeries.memory_usage` which caused segfault by accessing non sparse elements (:issue:`19368`)
1148-
- Bug in constructing a ``SparseArray``: if ``data`` is a scalar and ``index`` is defined it will coerce to ``float64`` regardless of scalar's dtype. (:issue:`19163`)
1148+
- Bug in constructing a :class:`SparseArray`: if ``data`` is a scalar and ``index`` is defined it will coerce to ``float64`` regardless of scalar's dtype. (:issue:`19163`)
11491149

11501150
Reshaping
11511151
^^^^^^^^^
@@ -1181,4 +1181,4 @@ Other
11811181

11821182
- Improved error message when attempting to use a Python keyword as an identifier in a ``numexpr`` backed query (:issue:`18221`)
11831183
- Bug in accessing a :func:`pandas.get_option`, which raised ``KeyError`` rather than ``OptionError`` when looking up a non-existant option key in some cases (:issue:`19789`)
1184-
- Bug in :func:`assert_series_equal` and :func:`assert_frame_equal` for Series or DataFrames with differing unicode data (:issue:`20503`)
1184+
- Bug in :func:`testing.assert_series_equal` and :func:`testing.assert_frame_equal` for Series or DataFrames with differing unicode data (:issue:`20503`)

0 commit comments

Comments
 (0)