Skip to content

Commit

Permalink
Remove unnecessary override of take in DataFrame.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Jan 28, 2022
1 parent c77263a commit 2d4e41b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions python/cudf/cudf/core/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2490,11 +2490,6 @@ def reset_index(
inplace=inplace,
)

def take(self, indices, axis=0):
out = super().take(indices)
out.columns = self.columns
return out

@annotate("INSERT", color="green", domain="cudf_python")
def insert(self, loc, name, value, nan_as_null=None):
"""Add a column to DataFrame at the index specified by loc.
Expand Down

0 comments on commit 2d4e41b

Please sign in to comment.