Skip to content

Commit

Permalink
Follow-ups to pandas-dev#24100
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed Dec 5, 2018
1 parent 9f2c716 commit 792e4cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,19 +463,6 @@ def __init__(self, data=None, index=None, columns=None, dtype=None,

NDFrame.__init__(self, mgr, fastpath=True)

def _init_dict(self, data, index, columns, dtype=None):
"""
Segregate Series based on type and coerce into matrices.
Needs to handle a lot of exceptional cases.
"""
return init_dict(data, index, columns, dtype=dtype)
# TODO: Can we get rid of this as a method?

def _init_ndarray(self, values, index, columns, dtype=None, copy=False):
# input must be a ndarray, list, Series, index
return init_ndarray(values, index, columns, dtype=dtype, copy=copy)
# TODO: can we just get rid of this as a method?

# ----------------------------------------------------------------------

@property
Expand Down
2 changes: 1 addition & 1 deletion pandas/core/internals/construction.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
Functions for preparing various inputs passed to the DataFrame or Series
constructors before passing them to aBlockManager.
constructors before passing them to a BlockManager.
"""
from collections import OrderedDict

Expand Down

0 comments on commit 792e4cd

Please sign in to comment.