diff --git a/google/colab/sheets.py b/google/colab/sheets.py index 186d3aa..2fd54dd 100644 --- a/google/colab/sheets.py +++ b/google/colab/sheets.py @@ -28,7 +28,7 @@ def _to_frame(index): else: # workaround for https://github.com/pandas-dev/pandas/issues/25809 frame = pd.DataFrame(index) - return frame.applymap(_clean_val).replace({np.nan: None}) + return frame.map(_clean_val).replace({np.nan: None}) def _generate_creds(unused_credentials=None):