MCPcopy Create free account
hub / github.com/datapane/datapane / _test_df

Function _test_df

python-client/tests/common/test_df_processor.py:42–46  ·  view source on GitHub ↗
(df: pd.DataFrame)

Source from the content-addressed store, hash-verified

40
41def test_convert_axis():
42 def _test_df(df: pd.DataFrame):
43 convert_axis(df)
44 assert df.columns.nlevels == 1
45 assert df.index.nlevels == 1
46 assert isinstance(df.index, pd.RangeIndex)
47
48 # ontario systems df - as per https://github.com/datapane/datapane-hosted/issues/762
49 data = {

Callers 2

test_convert_axisFunction · 0.85
test_e2e_df_processingFunction · 0.85

Calls 3

convert_axisFunction · 0.90
process_dfFunction · 0.90
save_load_arrowFunction · 0.85

Tested by

no test coverage detected