Skip to content

Commit

Permalink
warning fix; pandas>=2
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-vignal committed Sep 16, 2024
1 parent eaba28e commit e08a474
Show file tree
Hide file tree
Showing 4 changed files with 694 additions and 86 deletions.
2 changes: 1 addition & 1 deletion eurybia/core/smartplotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def generate_fig_univariate_continuous(
-------
plotly.graph_objs._figure.Figure
"""
df_all.loc[:, col].fillna(0, inplace=True)
df_all[col] = df_all[col].fillna(0)
datasets = [df_all[df_all[hue] == val][col].values.tolist() for val in df_all[hue].unique()]
group_labels = [str(val) for val in df_all[hue].unique()]
colors = list(self._style_dict["univariate_cont_bar"].values())
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ classifiers = [
"Operating System :: OS Independent",
]
dependencies = [
"pandas",
"pandas>=2",
"catboost>=1.0.1",
"panel>=1.4.1",
"ipywidgets>=7.4.2",
Expand Down
2 changes: 1 addition & 1 deletion requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ catboost>=1.0.1
category-encoders>=2.6.0
lightgbm>=2.3.1
numpy>=1.18.0
pandas
pandas>=2
plotly>=4.12.0
shapash>=2.0.0
Sphinx==4.5.0
Expand Down
Loading

0 comments on commit e08a474

Please sign in to comment.