Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Removed unnecessary invoking of .sum()
Browse files Browse the repository at this point in the history
  • Loading branch information
mstfbl committed Nov 13, 2019
1 parent 4b1f41c commit e51a64b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_ngramfeaturizer(self):
word_feature_extractor=n_gram(),
vector_normalizer='None') << 'SentimentText'
X_train = texttransform.fit_transform(X_train[:100])
sum = X_train.iloc[:].sum().sum()
sum = X_train.iloc[:].sum()
print(sum)
assert_equal(sum, 30513, "sum of all features is incorrect!")

Expand Down

0 comments on commit e51a64b

Please sign in to comment.