Skip to content

Solve pandas FutureWarning on behaviour of array concatenation #712

@berland

Description

@berland

Observed when running tests

$ pytest -sxv tests/forward_models/design2params/test_design2params.py::test_logging_order
  /data/projects/semeio/src/semeio/forward_models/design2params/design2params.py:124: FutureWarning: The behavior of array concatenation with empty entries is deprecated. In a future version, this will no longer exclude empty items when determining the result dtype. To retain the old behavior, exclude the empty entries before the concat operation.
    merged["combined"] = merged["parameters_realization"].combine_first(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions