#howtoinstallpython
• Set Up Python & Jupyter Notebook in Under ...
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
print(data.shape) # Number of rows and columns
print(data.head()) # First few rows
print(data.tail()) # Last few rows
print(data.dtypes)
print(data.describe())
print(data.isnull().sum())
df.info()
df['column1'] =df['column1'].fillna('30')
import seaborn as sns
import matplotlib.pyplot as plt
Load the Iris dataset
iris = sns.load_dataset("iris")
Pair plot
sns.pairplot(iris, hue="species")
plt.show()
all_columns = iris.columns
print(all_columns)
null_counts = iris.isnull().sum()
print(null_counts)
plt.bar(df.Sex, df.Age)
df = df.rename(columns={'old_column_name': 'new_column_name'})
print(df)
df.drop('Column2', axis=1, inplace=True)
import os
new_directory = r"C:\Users\Saurabh\Downloads"
os.chdir(new_directory)
import os
current_directory = os.getcwd()
print(current_directory)
df['Survived'].value_counts().plot(kind='bar')
plt.xlabel('Survived')
plt.ylabel('Number of People')
plt.title('Survived Members')
plt.grid(True)
plt.show()
df['Age'].hist()
plt.xlabel('Age')
plt.ylabel('Number of People')
plt.title('Agewise distribution')
plt.show()
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
On this page of the site you can watch the video online Python for Beginners: Step-by-Step Exploratory Data Analysis (EDA) Tutorial with a duration of online in good quality, which was uploaded by the user Let's slice data with Saurabh 17 August 2024, share the link with friends and acquaintances, this video has already been watched 312 times on youtube and it was liked by 3 viewers. Enjoy your viewing!