Skip to content

pandas environment issue with version 3.x #175

Description

@Qguill

Hello,

I have an issue in the part2_01_pstfrom_pest_setup notebook when adding pilot points parameters.

notebooks/tutorials/part2_01_pstfrom_pest_setup/freyberg_pstfrom_pest_setup.ipynb

[28] df_pp = pf.add_parameters(f,
zone_array=ib,
par_type="pilotpoints",
geostruct=pp_gs,
par_name_base=f.split('.')[1].replace("","")+"pp",
pargp=f.split('.')[1].replace("
","")+"pp",
lower_bound=0.2,upper_bound=5.0,
ult_ubound=100, ult_lbound=0.01,
pp_space=5) # PstFrom will generate a uniform grid of pilot points in every 4th row and column

The issue seems to be caused by incompatibilities between environment version >3.x and pyemu pp.ultils.py

To resolved this issue, I have created a new environment using environment.yml, adding :

  • pandas>=2.0,<3.0

Please let me know if this is a relevant fix,

Regards,
Quentin

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