cfdm.List.to_memory

List.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
List or None

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