def test3(self): print(self.input_df) out = delete_missing_data(self.input_df, input_cols=['born', 'name'], how='all') print(out['out_table'])
def test5(self): print(self.input_df) out = delete_missing_data(self.input_df, input_cols=[], thresh=2) print(out['out_table'])
def test(self): result = delete_missing_data(table=self.data,input_cols=['number2','string1'])['out_table'].values np.testing.assert_array_equal(result[0], np.array([1, 10, 'A', 'a'],dtype=object)) np.testing.assert_array_equal(result[1], np.array([2, 20, 'A', None],dtype=object))