We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1f70fe commit 5a63a95Copy full SHA for 5a63a95
src/nested_pandas/nestedframe/io.py
@@ -188,6 +188,7 @@ def _cast_struct_cols_to_nested(df, reject_nesting):
188
f"Column '{col}' is a Struct, but an attempt to cast it to a NestedDType failed. "
189
"This is likely due to the struct not meeting the requirements for a nested column "
190
"(all fields should be equal length). To proceed, you may add the column to the "
191
- "`reject_nesting` argument of the read_parquet function to skip the cast attempt."
+ "`reject_nesting` argument of the read_parquet function to skip the cast attempt:"
192
+ f" read_parquet(..., reject_nesting=['{col}'])"
193
) from err
194
return df
0 commit comments