MCPcopy Index your code
hub / github.com/ipython/ipython / test_pandas_series_iloc

Function test_pandas_series_iloc

tests/test_guarded_eval.py:104–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102
103@dec.skip_without("pandas")
104def test_pandas_series_iloc():
105 import pandas as pd
106
107 series = pd.Series([1], index=["a"])
108 context = limited(data=series)
109 assert guarded_eval("data.iloc[0]", context) == 1
110
111
112def test_rejects_custom_properties():

Callers

nothing calls this directly

Calls 1

guarded_evalFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…