def slice_naive(self, key):
kwargs = {'<STR_LIT:name>': self.name, '<STR_LIT:description>': self.description, '<STR_LIT>': self.meta}<EOL>for name, data in self._data().items():<EOL><INDENT>k = name[<NUM_LIT:1>:] if name.startswith('<STR_LIT:_>') else name<EOL>kwargs[k] = data.slice_naive(key)<EOL><DEDENT>return self.__class__(**kwargs)<EOL>
Naively slice each data object in the container by the object's index.

Args:
    key: Int, slice, or list by which to extra "sub"-container

Returns:
    sub: Sub container of the same format with a view of the data

Warning:
    To ensure that a new container is created, use the copy method.

    .. code-block:: Python

        mycontainer[slice].copy()