From 621f49e0875178d7f099d26431ff60bd5103e5f0 Mon Sep 17 00:00:00 2001 From: Devin Petersohn Date: Wed, 31 Jul 2024 06:14:04 -0500 Subject: [PATCH] FIX-#7351: Add ipython method calls to non-lookup list (#7352) Signed-off-by: Devin Petersohn --- modin/pandas/base.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modin/pandas/base.py b/modin/pandas/base.py index 51c9cd8156f..04dd845915c 100644 --- a/modin/pandas/base.py +++ b/modin/pandas/base.py @@ -99,7 +99,13 @@ # Do not lookup certain attributes in columns or index, as they're used for some # special purposes, like serving remote context -_ATTRS_NO_LOOKUP = {"__name__", "_cache"} +_ATTRS_NO_LOOKUP = { + "__name__", + "_cache", + "_ipython_canary_method_should_not_exist_", + "_ipython_display_", + "_repr_mimebundle_", +} _DEFAULT_BEHAVIOUR = { "__init__",