You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In looking into this, I found that arrow and nanoarrow map the null type of Apache Arrow to vctrs::unspecified.
This seems reasonable to me, and I have achieved the same conversion in the next branch.
arrow::arrow_table(x=vctrs::unspecified(10))
#> Table#> 10 rows x 1 columns#> $x <null>#>#> See $metadata for additional Schema metadata
I don't know if
pl$DataFrame(x = NULL)
should generate a DataFrame of height 1 to begin with.Created on 2024-09-02 with reprex v2.1.1
In my opinion, since NULL is zero length, it makes more sense to generate a DataFrame with zero height like
arrow::arrow_table()
does.(On
next
branch, this pattern generates a DataFrame with height 0.)Created on 2024-09-02 with reprex v2.1.1
Originally posted by @eitsupi in #1216 (comment)
The text was updated successfully, but these errors were encountered: