Skip to content

Commit 8b4b38f

Browse files
datapythonistajreback
authored andcommitted
DOC: Fixing more doc warnings (#24431)
1 parent 52a2bb4 commit 8b4b38f

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

doc/source/tutorials.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ repository <http://github.com/jvns/pandas-cookbook>`_.
3333
Learn Pandas by Hernan Rojas
3434
----------------------------
3535

36-
A set of lesson for new pandas users: `https://bitbucket.org/hrojas/learn-pandas>`__.
36+
A set of lesson for new pandas users: `Learn pandas <https://bitbucket.org/hrojas/learn-pandas>`__.
3737

3838
Practical data analysis with Python
3939
-----------------------------------

doc/source/whatsnew/v0.24.0.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ Numeric
14001400
- Checking PEP 3141 numbers in :func:`~pandas.api.types.is_scalar` function returns ``True`` (:issue:`22903`)
14011401
- Reduction methods like :meth:`Series.sum` now accept the default value of ``keepdims=False`` when called from a NumPy ufunc, rather than raising a ``TypeError``. Full support for ``keepdims`` has not been implemented (:issue:`24356`).
14021402

1403-
Conversion
1403+
Conversion
14041404
^^^^^^^^^^
14051405

14061406
- Bug in :meth:`DataFrame.combine_first` in which column types were unexpectedly converted to float (:issue:`20699`)

pandas/core/generic.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -6108,16 +6108,14 @@ def fillna(self, value=None, method=None, axis=None, inplace=False,
61086108

61096109
def ffill(self, axis=None, inplace=False, limit=None, downcast=None):
61106110
"""
6111-
Synonym for :meth:`DataFrame.fillna(method='ffill')
6112-
<DataFrame.fillna>`.
6111+
Synonym for :meth:`DataFrame.fillna` with ``method='ffill'``.
61136112
"""
61146113
return self.fillna(method='ffill', axis=axis, inplace=inplace,
61156114
limit=limit, downcast=downcast)
61166115

61176116
def bfill(self, axis=None, inplace=False, limit=None, downcast=None):
61186117
"""
6119-
Synonym for :meth:`DataFrame.fillna(method='bfill')
6120-
<DataFrame.fillna>`.
6118+
Synonym for :meth:`DataFrame.fillna` with ``method='bfill'``.
61216119
"""
61226120
return self.fillna(method='bfill', axis=axis, inplace=inplace,
61236121
limit=limit, downcast=downcast)

0 commit comments

Comments
 (0)