예제 #1
0
 def test_no_missing(self):
     df = ze.load_sciatica_data()
     assert df.shape[0] == df.dropna().shape[0]
예제 #2
0
 def test_correct_nobs(self):
     df = ze.load_sciatica_data()
     assert df.shape[0] == 1240
예제 #3
0
 def test_correct_ncols(self):
     df = ze.load_sciatica_data()
     assert df.shape[1] == 17
예제 #4
0
 def test_return_pandas(self):
     df = ze.load_sciatica_data()
     assert isinstance(df, type(pd.DataFrame()))