Skip to content

Commit 2b818bb

Browse files
Refer to concat in root namespace
1 parent 963d151 commit 2b818bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/whatsnew/v1.4.0.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,15 +444,15 @@ Deprecated Frame.append and Series.append
444444
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
445445

446446
:meth:`DataFrame.append` and :meth:`Series.append` have been deprecated and will be removed in Pandas 2.0.
447-
Use :func:`pandas.core.reshape.concat` instead (:issue:`35407`).
447+
Use :func:`pandas.concat` instead (:issue:`35407`).
448448

449449
*Deprecated syntax*
450450

451451
.. code-block:: ipython
452452
453453
In [1]: pd.Series([1, 2]).append(pd.Series([3, 4])
454454
Out [1]:
455-
<stdin>:1: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.core.reshape.concat instead.
455+
<stdin>:1: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
456456
0 1
457457
1 2
458458
0 3

0 commit comments

Comments
 (0)