Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ipython/ipython
/ BadItemSeries
Class
BadItemSeries
tests/test_guarded_eval.py:152–154 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
150
import
pandas
as
pd
151
152
class
BadItemSeries(pd.Series):
153
def
__getitem__(self, key):
154
return
"CUSTOM_ITEM"
155
156
class
BadAttrSeries(pd.Series):
157
def
__getattr__(self, key):
Callers
1
test_pandas_bad_series
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_pandas_bad_series
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…