yt.units.yt_array.YTArray.to_astropy

YTArray.to_astropy(**kwargs)[source]

Creates a new AstroPy quantity with the same unit information.