Skip to main content

Tool to rename GHG emissions or concentration names

Project description

GHG Renamer

A Python tool to rename various names used for Greenhouse Gas emissions or concentrations tables to a common naming scheme.


from ghgrenamer import to_shortname

to_shortname("CO2_emissions")  # => 'CO2'

Example usage:

from ghgrenamer import to_shortname

import pandas as pd

df = pd.read_excel(

print([to_shortname(i) for i in df.columns])
  # ...

Alternative names are defined in names.yaml. Run make to update them into the submodule.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ghgrenamer-0.2.1-py2.py3-none-any.whl (3.2 kB) Copy SHA256 hash SHA256 Wheel py2.py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page