Skip to content

Address pandas FutureWarning in climate_assessment/climate/post_process.py:164 #83

@phackstock

Description

@phackstock
/home/hackstock/Documents/code/climate-processor/.venv/lib/python3.12/site-packages/climate_assessment/climate/post_process.py:164: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
  if not np.isclose(shifts, shifts[0], atol=5 * 1e-3).all():

Metadata

Metadata

Assignees

No one assigned

    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