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
Setting observed=True is probably unproblematic, we don’t want to handle categories that aren’t in the data, except maybe in plotting (but then we don’t use groupby)
Deprecated some_series[0]: “Series.__getitem__ treating keys as positions is deprecated”
The default value of 'ignore' for the na_action parameter in pandas.Categorical.map is deprecated and will be changed to 'None' in a future version. Please set na_action to the desired value to avoid seeing this warning
df = df.groupby('gene').agg( (in SeriesGroupBy.agg?) The provided callable <function nansum at 0x7f50a03cb7e0> is currently using SeriesGroupBy.sum. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass 'sum' instead.
Uh oh!
There was an error while loading. Please reload this page.
Many scanpy functions raise warnings, to the point that people ignore them when they happen
is_categorical_dtype
pandas.value_counts
Deprecated the default of observed=False in DataFrame.groupby() and Series.groupby(); this will default to True in a future version (GH 43999)
Setting
observed=True
is probably unproblematic, we don’t want to handle categories that aren’t in the data, except maybe in plotting (but then we don’t use groupby)Deprecated
some_series[0]
: “Series.__getitem__
treating keys as positions is deprecated”The default value of 'ignore' for the
na_action
parameter in pandas.Categorical.map is deprecated and will be changed to 'None' in a future version. Please set na_action to the desired value to avoid seeing this warningdf = df.groupby('gene').agg(
(in SeriesGroupBy.agg?) The provided callable <function nansum at 0x7f50a03cb7e0> is currently using SeriesGroupBy.sum. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass 'sum' instead.same for nanmean/SeriesGroupBy.mean.
scanpy/tests/test_highly_variable_genes.py:59: SettingWithCopyWarning (in
adata.obs.batch.loc[::2] = "b"
) 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-copyVersions
The text was updated successfully, but these errors were encountered: