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 9e02eac commit cbbed4aCopy full SHA for cbbed4a
1 file changed
df2onehot/tests/test_df2onehot.py
@@ -64,7 +64,7 @@ def test_df2onehot(self):
64
65
# Run df2onehot
66
out = df2onehot(df, deep_extract=True)
67
- counts = out['numeric'][list(colnames)].sum(axis=1)
+ counts = out['numeric'][list(colnames)].values.sum(axis=1)
68
# Make some checks
69
for i in range(0,df.shape[0]):
70
if isinstance(list(), type(df['lists'].iloc[i])):
@@ -85,7 +85,7 @@ def test_df2onehot(self):
85
86
del out
87
88
89
90
91
0 commit comments