-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
API: Disallow sets as index and columns argument in DataFrame constructor #47231
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
Changes from 1 commit
08fb709
6065066
8c8ff6f
40684cf
b543db4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
TYPE_CHECKING, | ||
Any, | ||
Callable, | ||
Collection, | ||
Dict, | ||
Hashable, | ||
Iterator, | ||
|
@@ -115,7 +114,7 @@ | |
Ordered = Optional[bool] | ||
JSONSerializable = Optional[Union[PythonScalar, List, Dict]] | ||
Frequency = Union[str, "DateOffset"] | ||
Axes = Collection[Any] | ||
Axes = Union[AnyArrayLike, List, Dict, range, Sequence[str]] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why specifically Sequence[str] and not Sequence[Hashable]? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've removed |
||
|
||
RandomState = Union[ | ||
int, | ||
|
Uh oh!
There was an error while loading. Please reload this page.