Skip to content

Setting an item of incompatible dtype is deprecated (related to pandas update) #19

Description

@iharsuvorau

A warning that we should fix in the future. The interpreter considers the resource column to be of type float64, but it should be string.

/usr/src/Simod/.venv/lib/python3.9/site-packages/pix_framework/io/event_log.py:98: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value 'NOT_SET' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.
  event_log[log_ids.resource].fillna(missing_resource, inplace=True)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions