Write a Python program to find null values in given dataset and remove them


# importing Libraries
import pandas as pd

# Reading dataset
dataset = pd.read_csv('C:\\Users\\Desktop\\Desktop\\Soleha\Mcs ml\\ML PRACTICAL SOLUTIONS\\CSV Files\\employees.csv')

print(dataset.describe())
print(dataset)

dataset.dropna(inplace=True)

print(dataset)

Comments

Popular posts from this blog

Characteristics or researchers

Neo4j

Write a python program to implement multiple linear regression for given dataset