Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- import matplotlib.pyplot as plt
- import numpy as np
- pd.options.display.max_columns = 30
- pd.options.display.float_format = '{:.2f}'.format
- df.describe(include = 'object')
- df.describe()
- df.info()
- sns.pairplot(df, hue = 'test_result')
- plt.show()
- plt.figure()
- sns.pairplot(df[['age','trestbps', 'chol','thalach','target']], hue = "target", markers=["o", "s"])
- plt.show()
- df.hist(figsize = (20,12), bins = 100)
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement