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
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Issue description
If you pass something that's not a dtype to pl.Series, it won't complain and will instead just ignore the dtype argument. This is probably not what we want, especially when people coming from pandas might try to do things like dtype="uint32".
Polars version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Issue description
If you pass something that's not a dtype to
pl.Series
, it won't complain and will instead just ignore the dtype argument. This is probably not what we want, especially when people coming from pandas might try to do things likedtype="uint32"
.The following example prints out:
Reproducible example
Expected behavior
Raise an error.
Installed versions
The text was updated successfully, but these errors were encountered: