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

Function _check_is_string

python-client/tests/common/test_df_processor.py:30–31  ·  view source on GitHub ↗
(df: pd.DataFrame, object_columns: SList)

Source from the content-addressed store, hash-verified

28
29
30def _check_is_string(df: pd.DataFrame, object_columns: SList):
31 assert set(list(df.select_dtypes("string").columns)) == set(object_columns)
32
33
34def save_load_arrow(tmp_path: Path, df: pd.DataFrame) -> pd.DataFrame:

Callers 1

test_to_strFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected