yt.frontends.stream.data_structures.StreamGrid.apply_units

StreamGrid.apply_units(arr, units)