Implementation of Python Libraries for ML application such as Pandas and Matplotlib

import pandas as pd
import matplotlib.pyplot as plt

df = pd.DataFrame({'Age': [25, 30, 35, 40], 'Salary': [50000, 60000, 75000, 90000]})
print(df.describe(), "\nMean Salary:", df["Salary"].mean())
df.plot(x="Age", y="Salary", marker='o', linestyle='-', title="Salary vs. Age", grid=True)
plt.show()
df["Salary"].plot(kind='hist', bins=3, title="Salary Distribution", edgecolor='black')
plt.show()