Skip to content

TG bots: check None before NaN #153

@JulienPeloton

Description

@JulienPeloton
~np.isna(i) and (i is not None)

is not valid if i is None. While

(i is not None) and ~np.isna(i)

works for both float and NoneType.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions