Skip to content

Commit bf61cad

Browse files
committed
Removed now obsolete workaround
1 parent b7081de commit bf61cad

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: pandas/core/reshape/pivot.py

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

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

0 commit comments

Comments
 (0)