-
Notifications
You must be signed in to change notification settings - Fork 21
move from_sequence to namespace #164
New issue
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
move from_sequence to namespace #164
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we do the same for DataFrame.from_dict?
good one, thanks for your review - have updated |
anything missing, or OK to merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks about ready to me. The dtype: str
keyword may still change based on gh-155, but that can be done afterwards to not block this PR or other ones - that needs its own PR to deal with dtype
's consistently all in one go.
|
||
__dataframe_api_version__: str = "YYYY.MM" | ||
""" | ||
String representing the version of the DataFrame API specification to which the | ||
conforming implementation adheres. | ||
""" | ||
|
||
def column_from_sequence(sequence: Sequence[object], dtype: dtype) -> Column: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider making dtype
keyword-only?
merging then, thanks for reviewing! |
closes #162