cfdm.Index.to_memory

Index.to_memory(*args, **kwargs)[source]

Bring data on disk into memory.

There is no change to data that is already in memory.

Parameters
inplace: bool, optional

If True then do the operation in-place and return None.

Returns
Index or None

A copy with the data in memory, or None if the operation was in-place.