MCPcopy
hub / github.com/pandas-dev/pandas / validate_dataframe

Method validate_dataframe

pandas/io/parquet.py:151–153  ·  view source on GitHub ↗
(df: DataFrame)

Source from the content-addressed store, hash-verified

149class BaseImpl:
150 @staticmethod
151 def validate_dataframe(df: DataFrame) -> None:
152 if not isinstance(df, DataFrame):
153 raise ValueError("to_parquet only supports IO with DataFrames")
154
155 def write(self, df: DataFrame, path, compression, **kwargs) -> None:
156 raise AbstractMethodError(self)

Callers 2

writeMethod · 0.80
writeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected