Skip to content

Commit c348d54

Browse files
9th update for issue 3439
1 parent f69a28e commit c348d54

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pandas/core/reshape/pivot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ def crosstab(index, columns, values=None, rownames=None, colnames=None,
454454
... "shiny", "dull", "shiny", "shiny", "shiny"],
455455
... dtype=object)
456456
457-
>>> crosstab(a, [b, c], rownames=['a'], colnames=['b', 'c'])
457+
>>> pd.crosstab(a, [b, c], rownames=['a'], colnames=['b', 'c'])
458458
... # doctest: +NORMALIZE_WHITESPACE
459459
b one two
460460
c dull shiny dull shiny

pandas/core/reshape/tile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ def cut(x, bins, right=True, labels=None, retbins=False, precision=3,
7878
([(0.19, 3.367], (0.19, 3.367], (0.19, 3.367], (3.367, 6.533], (6.533, 9.7], (0.19, 3.367]]
7979
Categories (3, interval[float64]): [(0.19, 3.367] < (3.367, 6.533] < (6.533, 9.7]], array([ 0.1905 , 3.36666667, 6.53333333, 9.7 ]))
8080
81-
>>> result, bins = pd.cut(np.array([.2, 1.4, 2.5, 6.2, 9.7, 2.1]),
81+
>>> pd.cut(np.array([.2, 1.4, 2.5, 6.2, 9.7, 2.1]),
8282
... 3, labels=["good","medium","bad"])
83+
... # doctest: +SKIP
8384
[good, good, good, medium, bad, good]
8485
Categories (3, object): [good < medium < bad]
8586

0 commit comments

Comments
 (0)