Csv(graph in python) 2
How To Print scatter graph:
1-Make any file suppose i make a file named as (data) and add data init thensave as csv file.
2-import pandas as pd.
3-import matblotlib.pyplot as plt
4-take any variable i take(df) which is equal to pd.read_csv("file")
5-df.plot() inside plot parentheses write kind="scatter" then x = "Duration" ,y="Maxpulse"
Note: You should take any kind
import pandas as pd
import matplotlib.pyplot as plt
df = pd.read_csv("data.csv")
df.plot(kind = 'scatter', x = 'Duration', y = 'Maxpulse')
plt.show()
Output: