__author__ = 'vamsi' import pandas as pd import numpy as np from matplotlib import pyplot as plt from matplotlib import style style.use("ggplot") """reading data from SalesData.csv file and passing data to dataframe""" df=pd.read_csv("C:\\Users\Test\Desktop\SalesData.csv") x=df["SalesID"].as_matrix()#casting SalesID to list y=df["ProductPrice"].as_matrix()#casting ProductPrice to list plt.xlabel("SalesID")#assigning X-axis label plt.ylabel("ProductPrice")#assigning Y-axis label plt.title("Sales Analysis")#assigning Title to the graph plt.plot(x,y)#Plot X and Y axis plt.show()#Show the graph