Skip to content

harmonize project status codes for cercarbano #145

@andersy005

Description

@andersy005

@badgley, when you get a chance, i could use your help in harmonizing the project status codes for cercarbono.

def harmonize_status_codes(df: pd.DataFrame, *, status_column: str = 'status') -> pd.DataFrame:

the raw data contains the following status codes:

In [53]: df.stage.unique()
Out[53]: 
array(['Certified', 'Not assigned', 'Finished', 'Verification', 'Retired',
       'Cancelled', 'Validation', 'Rejected', 'Suspended',
       'Public comments'], dtype=object)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions