janaf is a Python wrapper for the NIST-JANAF Thermochemical Tables, providing programmatic access to thermodynamic data for various chemical species. The current version is 1.2.1, with releases occurring a few times a year, often including dependency updates and minor feature enhancements.
pip install janafVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to fetch thermochemical data for a species (e.g., H2O) using `janaf.get_table()` and access the data as a pandas DataFrame. It also shows how to retrieve specific property values.
Upgrade Python to 3.9+ or use `pip install 'janaf<1.2.1'`.
Update your code to explicitly handle `NaN` values (e.g., `dropna()`, `fillna()`, or manual interpolation) or ensure your data sources cover the full range of interest. Alternatively, pin `janaf` to `<1.1.0` if this imputation behavior is critical.
Install `janaf` with the `xarray` extra: `pip install "janaf[xarray]"` or install `xarray` separately: `pip install xarray`.