empty_like#
- caput.containers.empty_like(cont: caput.containers._core.ContainerPrototype, **kwargs: dict) caput.containers._core.ContainerPrototype[source]#
Create an empty container with the same properties as cont.
- Parameters:
- cont
ContainerPrototype Container to base this one off.
- **kwargs
dict Optional definitions of specific axes we want to override. Works in the same way as the
ContainerPrototypeconstructor, though axes_from=obj and attrs_from=obj are implied.
- cont
- Returns:
- container
ContainerPrototype New, empty container.
- container