Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved null handling when converting from nu -> dataframe. (nushell…
…#13855) # Description Fixes: nushell#12726 and nushell#13185 Previously converting columns that contained null caused polars to force a dtype of object even when using a schema. Now: 1. When using a schema, the type the schema defines for the column will always be used. 2. When a schema is not used, the previous type is used when a value is null. # User-Facing Changes - The type defined by the schema we be respected when passing in a null value `[a]; [null] | polars into-df -s {a: str}` will create a df with an str dtype column with one null value versus a column of type object. - *BREAKING CHANGE* If you define a schema, all columns must be in the schema.
- Loading branch information