From 893f11b2f0f362c18867fd0e1931d3c2ee3cf4fa Mon Sep 17 00:00:00 2001 From: Google Colaboratory Team Date: Mon, 18 Nov 2024 16:42:45 -0800 Subject: [PATCH] No public description PiperOrigin-RevId: 697799466 --- google/colab/sheets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/colab/sheets.py b/google/colab/sheets.py index 186d3aa4..2fd54dd3 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):