Пример #1
0
 def test_data_profiling(self):
     for file in self.input_file_names:
         data = Data(file['path'])
         profile = Profiler(data)
         self.assertIsNotNone(profile.profile)
         self.assertIsNotNone(profile.report())
Пример #2
0
 def setUpClass(cls):
     cls.data = Data(data=pd.DataFrame([1, 2]), data_type='csv')
Пример #3
0
 def test_data_import(self):
     for file in self.input_file_names:
         data = Data(file['path'])
         self.assertEqual(data.data_type, file['type'])