Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 721382640
  • Loading branch information
colaboratory-team committed Jan 30, 2025
1 parent 1b6ba69 commit fd8e49f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions google/colab/data_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,6 @@ def _preprocess_dataframe(self):
if self._include_index or dataframe.shape[1] == 0:
dataframe = dataframe.reset_index()

# if the column is uint64 and contains large numbers, convert to object.
# (see b/140769413 for details)
for i, dtype in enumerate(dataframe.dtypes):
if dtype == 'uint64' and (dataframe.iloc[:, i] > 2**63).any():
dataframe.iloc[:, i] = dataframe.iloc[:, i].astype(object)
return dataframe

def _repr_mimebundle_(self, include=None, exclude=None):
Expand Down

0 comments on commit fd8e49f

Please sign in to comment.