Final_Project / test.py
friedeggy's picture
Upload 14 files
a7bac1c verified
Raw History Blame Contribute Delete
352 Bytes
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
df = pd.DataFrame({
'Category': ['B', 'B', 'B', 'C', 'A', 'B', 'A', 'D'],
'Value': [10, 20, 30, 40, 50, 60, 70, 80]
})
null_data = df.isnull().sum()
print(f"The shape of this dataframe is {str(df.shape)} \n {df.describe()} \n Null data: \n {null_data}")