Skip to content

AttributeError: np.NaN was removed in the NumPy 2.0 release. Use np.nan instead. #1770

@MammadTavakoli

Description

@MammadTavakoli

Current Behaviour

when i runn the profilereport from data that saved in delta lake 3.3.2 with pyspark 3.5.6, following error happend. how can solve the problem:

AttributeError: np.NaN was removed in the NumPy 2.0 release. Use np.nan instead.

Expected Behaviour

when i runn the profilereport from data that saved in delta lake 3.3.2 with pyspark 3.5.6, following error happend. how can solve the problem:

AttributeError: np.NaN was removed in the NumPy 2.0 release. Use np.nan instead.

Data Description

when i runn the profilereport from data that saved in delta lake 3.3.2 with pyspark 3.5.6, following error happend. how can solve the problem:

AttributeError: np.NaN was removed in the NumPy 2.0 release. Use np.nan instead.

Code that reproduces the bug

pandas-profiling version

2

Dependencies

pyspark==35.6

OS

ubuntu

Checklist

  • There is not yet another bug report for this issue in the issue tracker
  • The problem is reproducible from this bug report. This guide can help to craft a minimal bug report.
  • The issue has not been resolved by the entries listed under Common Issues.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions