Commit c7bc7bd7 authored by Eteri's avatar Eteri

Allow to access DataFrame.columns in restricted

parent b7084be3
...@@ -70,6 +70,7 @@ allow_type(pd.Series) ...@@ -70,6 +70,7 @@ allow_type(pd.Series)
allow_type(pd.Timestamp) allow_type(pd.Timestamp)
allow_type(pd.DatetimeIndex) allow_type(pd.DatetimeIndex)
allow_type(pd.DataFrame) allow_type(pd.DataFrame)
allow_type(pd.Index)
allow_type(pd.core.groupby.DataFrameGroupBy) allow_type(pd.core.groupby.DataFrameGroupBy)
allow_class(pd.DataFrame) allow_class(pd.DataFrame)
...@@ -83,6 +84,7 @@ full_write_guard.func_closure[1].cell_contents.__self__[np.core.records.record] ...@@ -83,6 +84,7 @@ full_write_guard.func_closure[1].cell_contents.__self__[np.core.records.record]
full_write_guard.func_closure[1].cell_contents.__self__[pd.DataFrame] = True full_write_guard.func_closure[1].cell_contents.__self__[pd.DataFrame] = True
full_write_guard.func_closure[1].cell_contents.__self__[pd.tseries.index.DatetimeIndex] = True full_write_guard.func_closure[1].cell_contents.__self__[pd.tseries.index.DatetimeIndex] = True
full_write_guard.func_closure[1].cell_contents.__self__[pd.core.indexing._iLocIndexer] = True full_write_guard.func_closure[1].cell_contents.__self__[pd.core.indexing._iLocIndexer] = True
full_write_guard.func_closure[1].cell_contents.__self__[pd.Index] = True
from wendelin.bigarray.array_zodb import ZBigArray from wendelin.bigarray.array_zodb import ZBigArray
full_write_guard.func_closure[1].cell_contents.__self__[ZBigArray] = True full_write_guard.func_closure[1].cell_contents.__self__[ZBigArray] = True
allow_type(ZBigArray) allow_type(ZBigArray)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment