Skip to content

Commit 792e4cd

Browse files
committed
Follow-ups to pandas-dev#24100
1 parent 9f2c716 commit 792e4cd

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

pandas/core/frame.py

-13
Original file line numberDiff line numberDiff line change
@@ -463,19 +463,6 @@ def __init__(self, data=None, index=None, columns=None, dtype=None,
463463

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

466-
def _init_dict(self, data, index, columns, dtype=None):
467-
"""
468-
Segregate Series based on type and coerce into matrices.
469-
Needs to handle a lot of exceptional cases.
470-
"""
471-
return init_dict(data, index, columns, dtype=dtype)
472-
# TODO: Can we get rid of this as a method?
473-
474-
def _init_ndarray(self, values, index, columns, dtype=None, copy=False):
475-
# input must be a ndarray, list, Series, index
476-
return init_ndarray(values, index, columns, dtype=dtype, copy=copy)
477-
# TODO: can we just get rid of this as a method?
478-
479466
# ----------------------------------------------------------------------
480467

481468
@property

pandas/core/internals/construction.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
Functions for preparing various inputs passed to the DataFrame or Series
3-
constructors before passing them to aBlockManager.
3+
constructors before passing them to a BlockManager.
44
"""
55
from collections import OrderedDict
66

0 commit comments

Comments
 (0)