You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the current dev version, several deprecation warnings make it difficult to filter the real important messages. Currently, the next warnings are shown (one example of each kind) when using the default args values:
/home/carlos/git/eTraGo/etrago/tools/io.py:381: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value '1' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.
df[c].fillna(
/home/carlos/env/etrago_624/lib/python3.10/site-packages/sklearn/base.py:486: UserWarning: X has feature names, but KMeans was fitted without feature names
warnings.warn(
/home/carlos/env/etrago_624/lib/python3.10/site-packages/pypsa/clustering/spatial.py:255: FutureWarning: The provided callable <function min at 0x70a2744d0ee0> is currently using SeriesGroupBy.min. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string "min" instead.
aggregated = df.groupby(grouper).agg(static_strategies)
/home/carlos/git/eTraGo/etrago/cluster/spatial.py:278: FutureWarning: DataFrame.groupby with axis=1 is deprecated. Do frame.T.groupby(...) without axis instead.
pnl_df = df_agg.groupby(grouper, axis=1).sum()
/home/carlos/git/eTraGo/etrago/tools/utilities.py:290: FutureWarning: The geopandas.dataset module is deprecated and will be removed in GeoPandas 1.0. You can get the original 'naturalearth_lowres' data from https://www.naturalearthdata.com/downloads/110m-cultural-vectors/.
path = gpd.datasets.get_path("naturalearth_lowres")
The text was updated successfully, but these errors were encountered:
Using the current dev version, several deprecation warnings make it difficult to filter the real important messages. Currently, the next warnings are shown (one example of each kind) when using the default args values:
df[c].fillna(
warnings.warn(
aggregated = df.groupby(grouper).agg(static_strategies)
frame.T.groupby(...)
without axis instead.pnl_df = df_agg.groupby(grouper, axis=1).sum()
path = gpd.datasets.get_path("naturalearth_lowres")
The text was updated successfully, but these errors were encountered: