2

Python | Pandas dataframe.notna()

 1 year ago
source link: https://www.geeksforgeeks.org/videos/python-pandas-dataframenotna/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Pandas dataframe.notna()

Python | Pandas dataframe.notna()
Hello guys, welcome to this week's. Today we are
  • 21/07/2022

Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages and makes importing and analyzing data much easier. Pandas dataframe.notna() function detects existing/ non-missing values in the dataframe. The function returns a boolean object having the same size as that of the object on which it is applied, indicating whether each individual value is a na value or not. All of the non-missing values gets mapped to true and missing values get mapped to false. Note : Characters such as empty strings ” or numpy.inf are not considered NA values. (unless you set pandas.options.mode.use_inf_as_na = True).

Pandas dataframe.notna() : https://www.geeksforgeeks.org/python-pandas-dataframe-notna/


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK