Skip to content

Commit 2737600

Browse files
committed
Removed now obsolete workaround
1 parent 956c4f9 commit 2737600

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pandas/core/reshape/pivot.py

-4
Original file line numberDiff line numberDiff line change
@@ -526,10 +526,6 @@ def crosstab(index, columns, values=None, rownames=None, colnames=None,
526526
margins=margins, margins_name=margins_name,
527527
dropna=dropna, **kwargs)
528528

529-
# GH 17013:
530-
if values is None and margins:
531-
table = table.fillna(0).astype(np.int64)
532-
533529
# Post-process
534530
if normalize is not False:
535531
table = _normalize(table, normalize=normalize, margins=margins,

0 commit comments

Comments
 (0)