Skip to content

Commit ac45c91

Browse files
authored
Update bigframes/core/indexes/base.py
1 parent ce3894c commit ac45c91

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bigframes/core/indexes/base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -740,11 +740,9 @@ def to_numpy(self, dtype=None, *, allow_large_results=None, **kwargs) -> np.ndar
740740

741741
__array__ = to_numpy
742742

743-
def tolist(self, *, allow_large_results: Optional[bool] = None) -> list:
743+
def to_list(self, *, allow_large_results: Optional[bool] = None) -> list:
744744
return self.to_pandas(allow_large_results=allow_large_results).to_list()
745745

746-
to_list = tolist
747-
748746
def __len__(self):
749747
return self.shape[0]
750748

0 commit comments

Comments
 (0)