код прост:
df_pl = pl.read_excel("./data/data-0806.xlsx")
затем вызовите ComputeError:
ComputeError: Could not parse `liaozl` as dtype `i64` at column 'cust_no' (column number 93).
The current offset in the file is 5603524 bytes.
You might want to try:
- increasing `infer_schema_length` (e.g. `infer_schema_length=10000`),
- specifying correct dtype with the `dtypes` argument
- setting `ignore_errors` to `True`,
- adding `liaozl` to the `null_values` list.
Подробнее: https://stackoverflow.com/questions/769 ... ror-was-re
Мобильная версия