pysdic.core.property_container.PropertyContainer.flatten#
- PropertyContainer.flatten(key, *, order='C')[source]#
Flatten a property from shape \((N, \dots)\) to shape \((N, P)\), where \(P\) is the product of the attribute dimensions.
- Parameters:
key (str) – The name of the property.
order ({‘C’, ‘F’}, optional (default:
'C')) – Read the attributes in row-major ('C') or column-major ('F') order.
- Return type:
None