Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 575357446
  • Loading branch information
craigcitro authored and colaboratory-team committed Oct 21, 2023
1 parent 5316b07 commit 4bac8ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions google/colab/_reprs.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ def _summarize_dataframe(df, variable_name):
'fields': columns,
},
indent=2,
# This is used for serializing any types unknown to Python's json
# serialization.
default=str,
)
except Exception: # pylint: disable=broad-except
return None

0 comments on commit 4bac8ed

Please sign in to comment.