Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. !pip install --upgrade pandas
  2. !pip install --upgrade netCDF4

  3. !pip install --upgrade bottleneck
  4. !pip install xarray

You may encounter error message that can be ignored:

ERROR: fastai 1.0.50.post1 requires nvidia-ml-py3, which is not installed.



Info

Use the following code to test xarray.

Code Block
languagepy
import xarray as xr
import numpy as np
data = xr.DataArray(np.random.randn(2, 3), dims=('x', 'y'), coords={'x': [10, 20]})
print(data)

...