Skip to content

Commit

Permalink
Remove _copy_construct.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Aug 5, 2021
1 parent 6727fc4 commit aecfb6b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions python/cudf/cudf/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,15 +382,6 @@ def deserialize(cls, header, frames):

return Series(column, index=index, name=name)

@property
def _copy_construct_defaults(self):
return {"data": self._column, "index": self._index, "name": self.name}

def _copy_construct(self, **kwargs):
"""Shallow copy this object by replacing certain ctor args.
"""
return self.__class__(**{**self._copy_construct_defaults, **kwargs})

def _get_columns_by_label(self, labels, downcast=False):
"""Return the column specified by `labels`
Expand Down

0 comments on commit aecfb6b

Please sign in to comment.