Skip to content

Commit 2a4a80a

Browse files
authored
Merge pull request #23 from openscm/unit-conversion
Add unit conversion API
2 parents ae6748c + 07b7b73 commit 2a4a80a

File tree

8 files changed

+2193
-28
lines changed

8 files changed

+2193
-28
lines changed

changelog/23.feature.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Added unit conversion APIs: [pandas_openscm.unit_conversion.convert_unit] and [pandas_openscm.unit_conversion.convert_unit_like] and the corresponding accessors [pandas_openscm.accessors.DataFramePandasOpenSCMAccessor.convert_unit] and [pandas_openscm.accessors.DataFramePandasOpenSCMAccessor.convert_unit_like]
2+
- Added the helper: [pandas_openscm.index_manipulation.ensure_is_multiindex] and the corresponding accessors [pandas_openscm.accessors.DataFramePandasOpenSCMAccessor.ensure_index_is_multiindex] and [pandas_openscm.accessors.DataFramePandasOpenSCMAccessor.eiim]

docs/NAVIGATION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ See https://oprypin.github.io/mkdocs-literate-nav/
99
- [How to make a plume plot](how-to-guides/how-to-make-a-plume-plot.py)
1010
- [How to use our database, OpenSCMDB](how-to-guides/how-to-use-openscmdb.py)
1111
- [Tutorials](tutorials/index.md)
12+
- [Unit conversion](tutorials/unit-conversion.py)
1213
- [Further background](further-background/index.md)
1314
- [Dependency pinning and testing](further-background/dependency-pinning-and-testing.md)
1415
- [OpenSCMDB back-end speed](further-background/openscmdb-backend-speed.md)

0 commit comments

Comments
 (0)