(df: DataFrame)
| 149 | class 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) |