PEtab-dev / libpetab-python

Python package for working with PEtab files
https://libpetab-python.readthedocs.io
MIT License
14 stars 6 forks source link

Many `SettingWithCopyWarning`s during `plot_problem` #304

Open dweindl opened 1 month ago

dweindl commented 1 month ago
petab/v1/visualize/plotting.py:76: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  self.conditions.sort_index(inplace=True)