Skip to content

Commit f5f7a3e

Browse files
committed
DEPR: Update doctests quantile, numeric only
1 parent 7194d13 commit f5f7a3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/frame.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10604,11 +10604,11 @@ def quantile(
1060410604
--------
1060510605
>>> df = pd.DataFrame(np.array([[1, 1], [2, 10], [3, 100], [4, 100]]),
1060610606
... columns=['a', 'b'])
10607-
>>> df.quantile(.1, numeric_only=True)
10607+
>>> df.quantile(.1)
1060810608
a 1.3
1060910609
b 3.7
1061010610
Name: 0.1, dtype: float64
10611-
>>> df.quantile([.1, .5], numeric_only=True)
10611+
>>> df.quantile([.1, .5])
1061210612
a b
1061310613
0.1 1.3 3.7
1061410614
0.5 2.5 55.0

0 commit comments

Comments
 (0)