matteosdocsity commented on issue #43908:
URL: https://github.com/apache/arrow/issues/43908#issuecomment-2328275093
@jorisvandenbossche it works like a charm.
The method described also works with Pandas by setting dynamic keyword
arguments. Here's an example:
```python
# Define kwargs
kwargs = {
'use_compliant_nested_type': False
}
# Save DataFrame to Parquet with dynamic kwargs
df.to_parquet('output.parquet', engine='pyarrow', **kwargs)
```
This ensures compliant nested types are used when saving DataFrames to
Parquet using Pandas and pyarrow.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]