Closed sesamzoo closed 2 months ago
At least in/until version 0.9.0, the typespec of Series.cast/2 allows the type dtype() for its dtype parameter.
dtype()
dtype
The dtype() spec doesn't include :integer.
:integer
:integer is used in one of the examples in the documentation and actually works.
I haven't checked for any other cases.
Yeah, you are rignt. I think we should accept dtype() | dtype_alias() - the last one could be integer_dtype_alias() | float_dtype_alias(). WDYT?
dtype() | dtype_alias()
integer_dtype_alias() | float_dtype_alias()
PRs are welcome :)
At least in/until version 0.9.0, the typespec of Series.cast/2 allows the type
dtype()
for itsdtype
parameter.The
dtype()
spec doesn't include:integer
.:integer
is used in one of the examples in the documentation and actually works.I haven't checked for any other cases.