Start writing…
Tell the story behind the code.
Age Height LungCap 0 9 57.0 3.124 1 8 67.5 3.172 2 7 54.5 3.160 3 9 53.0 2.674 4 9 57.0 3.685
(654, 3)
Age 0 Height 0 LungCap 0 dtype: int64
.png)
Just Testing Site
Akshit Suthar
2/18/2026 · 6 views
Tell the story behind the code.
Age Height LungCap 0 9 57.0 3.124 1 8 67.5 3.172 2 7 54.5 3.160 3 9 53.0 2.674 4 9 57.0 3.685
(654, 3)
Age 0 Height 0 LungCap 0 dtype: int64
Sign in to join the conversation
Sign inNo comments yet. Be the first to share your thoughts!
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as pltdf = pd.read_csv('LungCapData2.csv')
df.head()df.shapedf.isnull().sum()sns.pairplot(data=df)
plt.show()sns.heatmap(data=df.corr(),annot=True)
plt.show()x = df.iloc[:,:-1]
y = df['LungCap']