Open edm1 opened 3 months ago
Can reproduce.
In case it may be a useful datapoint for debugging, transpose also seems to lose the inner values.
>>> df.drop('foo').transpose(column_names='bar')
# shape: (1, 4)
# ┌────────────┬────────────┬────────────┬────────────┐
# │ x ┆ x ┆ y ┆ y │
# │ --- ┆ --- ┆ --- ┆ --- │
# │ struct[2] ┆ struct[2] ┆ struct[2] ┆ struct[2] │
# ╞════════════╪════════════╪════════════╪════════════╡
# │ {1,{null}} ┆ {3,{null}} ┆ {5,{null}} ┆ {7,{null}} │
# └────────────┴────────────┴────────────┴────────────┘
Checks
Reproducible example
Log output
Issue description
Pivotting values containing a nested struct causes the nested contents to become null.
Expected behavior
Expected output
Installed versions