xarray-2 Xarray - 2 : Data IO with Xarray¶ ¶ The native way to persist an Xarray dataset is to write it to a NetCDF file. In [1]: import numpy as np import pandas as pd import xarray as xr In [ ]: