79414766

Date: 2025-02-05 12:39:02
Score: 2
Natty:
Report link

it is hard to know the number of columns which contains Nan value from dataframe which has 3000 or more than that ..use the following command to get the list of columns which contains Nan values

print(df.columns[df.isna().any()])

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Akshat Kumar