8000 Switch dataframe constructor to use dispatch by saulshanabrook · Pull Request #32844 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

Switch dataframe constructor to use dispatch #32844

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

Closed
wants to merge 14 commits into from
Prev Previous commit
Next Next commit
Fix calling
  • Loading branch information
saulshanabrook committed Mar 19, 2020
commit b307c4b01f8c70ce35fe3ae3659bec3163260b34
2 changes: 1 addition & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ def __init__(
):
if dtype is not None:
dtype = self._validate_dtype(dtype)
mgr = create_dataframe(data, self, index, columns, dtype, copy)
mgr = create_dataframe(data, index, columns, dtype, copy, type(self))
NDFrame.__init__(self, mgr)

# ----------------------------------------------------------------------
Expand Down
0