def test_as_dataframe_generic():
df_hello, cohort = prep_test_cohort()
# test that column names haven't changed
df = cohort.as_dataframe(join_with="hello")
# column names should match those in df_hello
res = compare_column_names(expected = df_hello.columns,
observed = df.columns)
ok_(res, 'columns names failed to match expected')
评论列表
文章目录