finam.data.full_like#
- finam.data.full_like(xdata, value)[source]#
Return a new data array with the same shape, type and units as a given object.
- Parameters:
xdata (
pint.Quantity
ornumpy.ndarray
) – The reference object input.value (scalar) – Value to fill the new object with before returning it.
- Returns:
New object with the same shape and type as other, with the data filled with fill_value. Units will be taken from the input if present.
- Return type: