update_data

method of dascore.core.coords.BaseCoord source

update_data(
    self ,
    data: ndarray | None = None,
    values: ndarray | None = None,
    **kwargs ,
)-> ‘Self’

Update the data of the coordinate.

Parameters

Parameter Description
data A new array to use.
values Same as data, but deprecated. Here for compatibility reasons.