We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Also splitting this off from #187 (comment)
We have various dtypes: Int64, Int32, ...., Bool, which are part of the API.
Int64
Int32
Bool
We have functions which accept any dtype, such as
def column_from_sequence(sequence: Sequence[Scalar], *, dtype) -> Column:
How do we type dtype? I originally wanted to have DType be a common superclass of the dtypes, so we could have
dtype
DType
def column_from_sequence(sequence: Sequence[Scalar], *, dtype: DType) -> Column:
but it's been brought up that this isn't desirable because it would add a class to the namespace for the sole purpose of type checking.
Are there alternatives which would be acceptable?
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Also splitting this off from #187 (comment)
We have various dtypes:
Int64
,Int32
, ....,Bool
, which are part of the API.We have functions which accept any dtype, such as
How do we type
dtype
? I originally wanted to haveDType
be a common superclass of the dtypes, so we could havebut it's been brought up that this isn't desirable because it would add a class to the namespace for the sole purpose of type checking.
Are there alternatives which would be acceptable?
The text was updated successfully, but these errors were encountered: