Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/whatsnew/latest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ This document explains the changes made to Iris for this release
🔗 Dependencies
===============

#. N/A
#. `@trexfeathers`_ introduced the ``libnetcdf <4.9`` pin. (:pull:`5242`)


📚 Documentation
Expand Down
11 changes: 6 additions & 5 deletions lib/iris/pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,12 +345,13 @@ def as_cubes(
... var_name="longitude",
... value_name="air_temperature"
... )
>>> my_df["longitude"] = my_df["longitude"].infer_objects()
>>> print(my_df)
latitude longitude air_temperature
0 35 0 300
1 25 0 301
2 35 10 302
3 25 10 303
latitude longitude air_temperature
0 35 0 300
1 25 0 301
2 35 10 302
3 25 10 303
>>> my_df = my_df.set_index(["latitude", "longitude"])
>>> my_df = my_df.sort_index()
>>> converted_cube = as_cubes(my_df)[0]
Expand Down
49 changes: 25 additions & 24 deletions requirements/locks/py310-linux-64.lock

Large diffs are not rendered by default.

45 changes: 23 additions & 22 deletions requirements/locks/py38-linux-64.lock

Large diffs are not rendered by default.

45 changes: 23 additions & 22 deletions requirements/locks/py39-linux-64.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions requirements/py310.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies:
- cf-units >=3.1
- cftime >=1.5
- dask-core >=2022.9.0
- libnetcdf <4.9
- matplotlib >=3.5
- netcdf4
- numpy >=1.19
Expand Down
1 change: 1 addition & 0 deletions requirements/py38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies:
- cf-units >=3.1
- cftime >=1.5
- dask-core >=2022.9.0
- libnetcdf <4.9
- matplotlib >=3.5
- netcdf4
- numpy >=1.19
Expand Down
1 change: 1 addition & 0 deletions requirements/py39.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies:
- cf-units >=3.1
- cftime >=1.5
- dask-core >=2022.9.0
- libnetcdf <4.9
- matplotlib >=3.5
- netcdf4
- numpy >=1.19
Expand Down