proposed fix to #39244 (#3)

* proposed fix to #39244

* Update test_module.py
This commit is contained in:
Jaikishan Brijwani 2020-10-09 11:18:41 +05:30 committed by GitHub
parent 3f27096a3e
commit 5a2c48afe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ import matplotlib as mpl
class DataCleaningTestCase(unittest.TestCase): class DataCleaningTestCase(unittest.TestCase):
def test_data_cleaning(self): def test_data_cleaning(self):
actual = int(time_series_visualizer.df.count()) actual = int(time_series_visualizer.df.count(numeric_only=True))
expected = 1238 expected = 1238
self.assertEqual(actual, expected, "Expected DataFrame count after cleaning to be 1238.") self.assertEqual(actual, expected, "Expected DataFrame count after cleaning to be 1238.")