Skip to content

Commit 810d8cd

Browse files
authored
DOC: remove outdated doc closes #31487 (#36797)
1 parent a4358bd commit 810d8cd

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

doc/source/user_guide/dsintro.rst

-25
Original file line numberDiff line numberDiff line change
@@ -663,31 +663,6 @@ row-wise. For example:
663663
664664
df - df.iloc[0]
665665
666-
In the special case of working with time series data, if the DataFrame index
667-
contains dates, the broadcasting will be column-wise:
668-
669-
.. ipython:: python
670-
:okwarning:
671-
672-
index = pd.date_range('1/1/2000', periods=8)
673-
df = pd.DataFrame(np.random.randn(8, 3), index=index, columns=list('ABC'))
674-
df
675-
type(df['A'])
676-
df - df['A']
677-
678-
.. warning::
679-
680-
.. code-block:: python
681-
682-
df - df['A']
683-
684-
is now deprecated and will be removed in a future release. The preferred way
685-
to replicate this behavior is
686-
687-
.. code-block:: python
688-
689-
df.sub(df['A'], axis=0)
690-
691666
For explicit control over the matching and broadcasting behavior, see the
692667
section on :ref:`flexible binary operations <basics.binop>`.
693668

0 commit comments

Comments
 (0)