cf.FieldList.insert_data

FieldList.insert_data(*args, **kwargs)[source]

Insert a new data array into the only field in place.

An exception is raised if there is not exactly one field in the list.

fl.insert_data() is equivalent to if len(fl) == 1: fl[0].insert_data().

See cf.Field.insert_data for details.

Parameters:
args, kwargs : optional

See cf.Field.insert_data.

Returns:

None

Previous topic

cf.FieldList.indices

Next topic

cf.FieldList.iscyclic

This Page