We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cea7a2b commit 107071bCopy full SHA for 107071b
pandas/core/reshape/pivot.py
@@ -1166,7 +1166,7 @@ def _normalize(
1166
elif margins is True:
1167
# keep index and column of pivoted table
1168
if table.empty:
1169
- raise ValueError("Can't get margins since the result dataframe is empty ")
+ raise ValueError("Can't get margins since the result dataframe is empty")
1170
1171
table_index = table.index
1172
table_columns = table.columns
0 commit comments