Skip to content

Commit af5e8ec

Browse files
committed
DOC: whatsnew typo cleanup
1 parent e022d9a commit af5e8ec

File tree

1 file changed

+26
-27
lines changed

1 file changed

+26
-27
lines changed

doc/source/whatsnew/v0.23.0.txt

+26-27
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ New features
1616
.. _whatsnew_0210.enhancements.limit_area:
1717

1818
``DataFrame.interpolate`` has gained the ``limit_area`` kwarg
19-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2020

2121
:meth:`DataFrame.interpolate` has gained a ``limit_area`` parameter to allow further control of which ``NaN`` s are replaced.
22-
Use `limit_area='inside'` to fill only NaNs surrounded by valid values or use `limit_area='outside'` to fill only ``NaN`` s
22+
Use ``limit_area='inside'`` to fill only NaNs surrounded by valid values or use ``limit_area='outside'`` to fill only ``NaN`` s
2323
outside the existing valid values while preserving those inside. (:issue:`16284`) See the :ref:`full documentation here <missing_data.interp_limits>`.
2424

2525

@@ -352,13 +352,13 @@ Dependencies have increased minimum versions
352352
We have updated our minimum supported versions of dependencies (:issue:`15184`).
353353
If installed, we now require:
354354

355-
+-----------------+-----------------+----------+
356-
| Package | Minimum Version | Required |
357-
+=================+=================+==========+
358-
| python-dateutil | 2.5.0 | X |
359-
+-----------------+-----------------+----------+
360-
| openpyxl | 2.4.0 | |
361-
+-----------------+-----------------+----------+
355+
+-----------------+-----------------+----------+
356+
| Package | Minimum Version | Required |
357+
+=================+=================+==========+
358+
| python-dateutil | 2.5.0 | X |
359+
+-----------------+-----------------+----------+
360+
| openpyxl | 2.4.0 | |
361+
+-----------------+-----------------+----------+
362362

363363
.. _whatsnew_0230.api_breaking.deprecate_panel:
364364

@@ -391,7 +391,7 @@ Convert to an xarray DataArray
391391
.. _whatsnew_0230.api_breaking.apply:
392392

393393
Changes to make output of ``DataFrame.apply`` consistent
394-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
394+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
395395

396396
:func:`DataFrame.apply` was inconsistent when applying an arbitrary user-defined-function that returned a list-like with ``axis=1``. Several bugs and inconsistencies
397397
are resolved. If the applied function returns a Series, then pandas will return a DataFrame; otherwise a Series will be returned, this includes the case
@@ -454,7 +454,7 @@ Returning a ``Series`` allows one to control the exact return structure and colu
454454

455455
.. ipython:: python
456456

457-
df.apply(lambda x: Series([1, 2, 3], index=['D', 'E', 'F']]), axis=1)
457+
df.apply(lambda x: Series([1, 2, 3], index=['D', 'E', 'F']), axis=1)
458458

459459

460460
.. _whatsnew_0230.api_breaking.build_changes:
@@ -555,7 +555,7 @@ Other API Changes
555555
- ``pandas.tseries.frequencies.get_freq_group()`` and ``pandas.tseries.frequencies.DAYS`` are removed from the public API (:issue:`18034`)
556556
- :func:`Series.truncate` and :func:`DataFrame.truncate` will raise a ``ValueError`` if the index is not sorted instead of an unhelpful ``KeyError`` (:issue:`17935`)
557557
- :func:`Index.map` can now accept ``Series`` and dictionary input objects (:issue:`12756`, :issue:`18482`, :issue:`18509`).
558-
- :func:`Dataframe.unstack` will now default to filling with ``np.nan`` for ``object`` columns. (:issue:`12815`)
558+
- :func:`DataFrame.unstack` will now default to filling with ``np.nan`` for ``object`` columns. (:issue:`12815`)
559559
- :class:`IntervalIndex` constructor will raise if the ``closed`` parameter conflicts with how the input data is inferred to be closed (:issue:`18421`)
560560
- Inserting missing values into indexes will work for all types of indexes and automatically insert the correct type of missing value (``NaN``, ``NaT``, etc.) regardless of the type passed in (:issue:`18295`)
561561
- 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`).
@@ -620,7 +620,7 @@ Removal of prior version deprecations/changes
620620
- The ``pandas.io.wb`` and ``pandas.io.data`` stub modules have been removed (:issue:`13735`)
621621
- ``Categorical.from_array`` has been removed (:issue:`13854`)
622622
- The ``freq`` and ``how`` parameters have been removed from the ``rolling``/``expanding``/``ewm`` methods of DataFrame
623-
and Series (deprecated since v0.18). Instead, resample before calling the methods. (:issue:18601 & :issue:18668)
623+
and Series (deprecated since v0.18). Instead, resample before calling the methods. (:issue:`18601` & :issue:`18668`)
624624
- ``DatetimeIndex.to_datetime``, ``Timestamp.to_datetime``, ``PeriodIndex.to_datetime``, and ``Index.to_datetime`` have been removed (:issue:`8254`, :issue:`14096`, :issue:`14113`)
625625
- :func:`read_csv` has dropped the ``skip_footer`` parameter (:issue:`13386`)
626626
- :func:`read_csv` has dropped the ``as_recarray`` parameter (:issue:`13373`)
@@ -631,7 +631,7 @@ Removal of prior version deprecations/changes
631631
- ``pandas.tseries.frequencies.get_standard_freq`` has been removed in favor of ``pandas.tseries.frequencies.to_offset(freq).rule_code`` (:issue:`13874`)
632632
- The ``freqstr`` keyword has been removed from ``pandas.tseries.frequencies.to_offset`` in favor of ``freq`` (:issue:`13874`)
633633
- The ``Panel4D`` and ``PanelND`` classes have been removed (:issue:`13776`)
634-
- The ``Panel``class has dropped the ``to_long``and ``toLong`` methods (:issue:`19077`)
634+
- The ``Panel`` class has dropped the ``to_long``and ``toLong`` methods (:issue:`19077`)
635635
- The options ``display.line_with`` and ``display.height`` are removed in favor of ``display.width`` and ``display.max_rows`` respectively (:issue:`4391`, :issue:`19107`)
636636
- The ``labels`` attribute of the ``Categorical`` class has been removed in favor of :attribute:`Categorical.codes` (:issue:`7768`)
637637
- The ``flavor`` parameter have been removed from func:`to_sql` method (:issue:`13611`)
@@ -672,7 +672,7 @@ Documentation Changes
672672
Rewrote some sentences for greater clarity, added more dynamic references
673673
to functions, methods and classes.
674674
(:issue:`18941`, :issue:`18948`, :issue:`18973`, :issue:`19017`)
675-
-
675+
676676

677677
.. _whatsnew_0230.bug_fixes:
678678

@@ -704,7 +704,7 @@ Categorical
704704
``self`` but in a different order (:issue:`19551`)
705705
- Bug in :meth:`Index.astype` with a categorical dtype where the resultant index is not converted to a :class:`CategoricalIndex` for all types of index (:issue:`18630`)
706706
- Bug in :meth:`Series.astype` and ``Categorical.astype()`` where an existing categorical data does not get updated (:issue:`10696`, :issue:`18593`)
707-
- Bug in :class:`Index` constructor with ``dtype=CategoricalDtype(...)`` where ``categories`` and ``ordered`` are not maintained (issue:`19032`)
707+
- Bug in :class:`Index` constructor with ``dtype=CategoricalDtype(...)`` where ``categories`` and ``ordered`` are not maintained (:issue:`19032`)
708708

709709
Datetimelike
710710
^^^^^^^^^^^^
@@ -718,7 +718,7 @@ Datetimelike
718718
- Bug in :class:`DatetimeIndex` and :class:`TimedeltaIndex` where adding or subtracting an array-like of ``DateOffset`` objects either raised (``np.array``, ``pd.Index``) or broadcast incorrectly (``pd.Series``) (:issue:`18849`)
719719
- Bug in :class:`Series` floor-division where operating on a scalar ``timedelta`` raises an exception (:issue:`18846`)
720720
- Bug in :class:`Series`` with ``dtype='timedelta64[ns]`` where addition or subtraction of ``TimedeltaIndex`` had results cast to ``dtype='int64'`` (:issue:`17250`)
721-
- Bug in :class:`TimedeltaIndex` where division by a ``Series`` would return a ``TimedeltaIndex`` instead of a ``Series`` (issue:`19042`)
721+
- Bug in :class:`TimedeltaIndex` where division by a ``Series`` would return a ``TimedeltaIndex`` instead of a ``Series`` (:issue:`19042`)
722722
- Bug in :class:`Series` with ``dtype='timedelta64[ns]`` where addition or subtraction of ``TimedeltaIndex`` could return a ``Series`` with an incorrect name (:issue:`19043`)
723723
- Bug in :class:`DatetimeIndex` where the repr was not showing high-precision time values at the end of a day (e.g., 23:59:59.999999999) (:issue:`19030`)
724724
- Bug where dividing a scalar timedelta-like object with :class:`TimedeltaIndex` performed the reciprocal operation (:issue:`19125`)
@@ -732,7 +732,7 @@ Datetimelike
732732
- Bug in :func:`to_datetime` where passing an out-of-bounds datetime with ``errors='coerce'`` and ``utc=True`` would raise ``OutOfBoundsDatetime`` instead of parsing to ``NaT`` (:issue:`19612`)
733733
- 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`)
734734
- 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`)
735-
-
735+
736736

737737
Timezones
738738
^^^^^^^^^
@@ -791,11 +791,11 @@ MultiIndex
791791
- Bug in :func:`MultiIndex.set_labels` which would cause casting (and potentially clipping) of the new labels if the ``level`` argument is not 0 or a list like [0, 1, ... ] (:issue:`19057`)
792792
- Bug in :func:`MultiIndex.get_level_values` which would return an invalid index on level of ints with missing values (:issue:`17924`)
793793
- Bug in :func:`MultiIndex.remove_unused_levels` which would fill nan values (:issue:`18417`)
794-
- Bug in :func:`MultiIndex.from_tuples`` which would fail to take zipped tuples in python3 (:issue:`18434`)
795-
- Bug in :func:`MultiIndex.get_loc`` which would fail to automatically cast values between float and int (:issue:`18818`, :issue:`15994`)
796-
- Bug in :func:`MultiIndex.get_loc`` which would cast boolean to integer labels (:issue:`19086`)
797-
- Bug in :func:`MultiIndex.get_loc`` which would fail to locate keys containing ``NaN`` (:issue:`18485`)
798-
- Bug in :func:`MultiIndex.get_loc`` in large :class:`MultiIndex`, would fail when levels had different dtypes (:issue:`18520`)
794+
- Bug in :func:`MultiIndex.from_tuples` which would fail to take zipped tuples in python3 (:issue:`18434`)
795+
- Bug in :func:`MultiIndex.get_loc` which would fail to automatically cast values between float and int (:issue:`18818`, :issue:`15994`)
796+
- Bug in :func:`MultiIndex.get_loc` which would cast boolean to integer labels (:issue:`19086`)
797+
- Bug in :func:`MultiIndex.get_loc` which would fail to locate keys containing ``NaN`` (:issue:`18485`)
798+
- Bug in :func:`MultiIndex.get_loc` in large :class:`MultiIndex`, would fail when levels had different dtypes (:issue:`18520`)
799799

800800

801801
I/O
@@ -817,10 +817,10 @@ I/O
817817
Plotting
818818
^^^^^^^^
819819

820-
- :func: `DataFrame.plot` now raises a ``ValueError`` when the ``x`` or ``y`` argument is improperly formed (:issue:`18671`)
820+
- :func:`DataFrame.plot` now raises a ``ValueError`` when the ``x`` or ``y`` argument is improperly formed (:issue:`18671`)
821821
- Bug in formatting tick labels with ``datetime.time()`` and fractional seconds (:issue:`18478`).
822822
- :meth:`Series.plot.kde` has exposed the args ``ind`` and ``bw_method`` in the docstring (:issue:`18461`). The argument ``ind`` may now also be an integer (number of sample points).
823-
-
823+
824824

825825
Groupby/Resample/Rolling
826826
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -860,10 +860,9 @@ Reshaping
860860
- Improved error message for :func:`DataFrame.merge` when there is no common merge key (:issue:`19427`)
861861
- Bug in :func:`DataFrame.join` which does an *outer* instead of a *left* join when being called with multiple DataFrames and some have non-unique indices (:issue:`19624`)
862862
- :func:`Series.rename` now accepts ``axis`` as a kwarg (:issue:`18589`)
863+
- Comparisons between :class:`Series` and :class:`Index` would return a ``Series`` with an incorrect name, ignoring the ``Index``'s name attribute (:issue:`19582`)
863864

864865
Other
865866
^^^^^
866867

867868
- Improved error message when attempting to use a Python keyword as an identifier in a ``numexpr`` backed query (:issue:`18221`)
868-
- Comparisons between :class:`Series` and :class:`Index` would return a ``Series`` with an incorrect name, ignoring the ``Index``'s name attribute (:issue:`19582`)
869-
-

0 commit comments

Comments
 (0)