AlloViz.AlloViz.Elements.Element._take_with_is_copy¶
- Element._take_with_is_copy(indices, axis: int | Literal['index', 'columns', 'rows'] = 0) None ¶
Internal version of the take method that sets the _is_copy attribute to keep track of the parent dataframe (using in indexing for the SettingWithCopyWarning).
For Series this does the same as the public take (it never sets _is_copy).
See the docstring of take for full explanation of the parameters.