Skip to content

Diagnostics Future Warning #63

@rubcalvo

Description

@rubcalvo

Hi! I've been using xanthos this past month and the Diagnostics Module print the following future warning:

INFO: ---Start Diagnostics:
/home/rcalvo/miniconda3/envs/xanthos/lib/python3.7/site-packages/xanthos/diagnostics/diagnostics.py:130: FutureWarning: Slicing a positional slice with .loc is not supported, and will raise TypeError in a future version. Use .loc with labels or .iloc with positions instead.
agg_df.loc[-1, 1:] = agg_df.sum(numeric_only=True)

Just a heads up.

Thanks.

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