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
[
#Explorer.DataFrame<
Polars[1134 x 4]
gtin string […]
series string […]
program string […]
program_color string […]
>,
#Explorer.DataFrame<
Polars[1520 x 4]
gtin string […]
series string […]
program null […]
series_color string […]
>
]
I got
[error] ** (ArgumentError) dataframes must have the same columns
(explorer 0.10.0) lib/explorer/data_frame.ex:5436: anonymous fn/3 in Explorer.DataFrame.compute_changed_types_concat_rows/1
This lead me to believe that the null vs string column type to be the issue while it was the different *_color columns.
The error message could be better and concat_rows docs could call out that typecasting works between null and other column types
The text was updated successfully, but these errors were encountered:
The error message could be improved by calling out which columns specifically didn't match. Something like:
** (ArgumentError) dataframes must have the same columns
* Left DataFrame has these columns not present in the right DataFrame:
["program_color"]
* Right DataFrame has these columns not present in the left DataFrame:
["series_color"]
(explorer 0.10.0) lib/explorer/data_frame.ex:5436: anonymous fn/3 in Explorer.DataFrame.compute_changed_types_concat_rows/1
Given the following dataframes:
I got
This lead me to believe that the null vs string column type to be the issue while it was the different *_color columns.
The error message could be better and
concat_rows
docs could call out that typecasting works between null and other column typesThe text was updated successfully, but these errors were encountered: