We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cbf657f + 8763dd3 commit 9cd0844Copy full SHA for 9cd0844
ReadFromCSV.py
@@ -8,7 +8,7 @@
8
"""reading data from SalesData.csv file
9
and passing data to dataframe"""
10
11
-df = pd.read_csv("C:\\Users\Test\Desktop\SalesData.csv") #Reading the csv file
+df = pd.read_csv("..\SalesData.csv") #Reading the csv file
12
x = df["SalesID"].as_matrix() # casting SalesID to list #extracting the column with name SalesID
13
y = df["ProductPrice"].as_matrix() # casting ProductPrice to list
14
plt.xlabel("SalesID") # assigning X-axis label
0 commit comments