from_variables
from_variables(
variables ,
options ,
)-> ‘CoordIndex’
Build from a coordinate variable, as set_xindex asks.
Lets an array whose index holds its labels take this index type, so it aligns with a lazy array without reading that array’s labels: other.drop_indexes("time").set_xindex("time", CoordIndex). Evenly sampled labels become a range; others are held as they are.