Closed lei0zhou closed 2 months ago
I will improve the docs but the dtypes names are meant to match the column names in the CSV. In your case, because the column names have spaces around them, the first column is actually "first_name ". Either pass the :columns
option to given them proper names or give it a proper CSV. Since they mismatch, Polars actually try to assign the order of the fields, which I will improve the docs here too.
thanks! after removing blank spaces, the loading works as expected!
reproducible example, with explorer 0.9.1
worked as expected, but with
:dtype
optionthe columns are out of order with options
curious why this happens if this test passed