From c687c62a0f5ead7d96f50d28ddd7090eb0d7b668 Mon Sep 17 00:00:00 2001 From: Nithin MSV <34873896+NithinMSV@users.noreply.github.com> Date: Mon, 22 Oct 2018 18:12:23 +0530 Subject: [PATCH 1/2] Line Graph using Matplotlib, Pandas & Numpy. --- Line Graph | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Line Graph diff --git a/Line Graph b/Line Graph new file mode 100644 index 0000000..3190a50 --- /dev/null +++ b/Line Graph @@ -0,0 +1,15 @@ +import matplotlib.pyplot as plt +import pandas as pd +x = df['Open'].head() +y = df['Close'].head() +xticks = df['Date'] +yticks = np.arange(600,700,1,dtype=int) +df = pd.read_csv("C://Users//NITHIN//Downloads/GOOG-NASDAQ_GOOGL.csv") +plt.plot(x, label='Open') +plt.plot(y, label='Close') +plt.xlabel('x') +plt.ylabel('y') +plt.yticks(y, yticks) +plt.title('Interesting Graph\nCheck it out') +plt.legend() +plt.show() From 4a2e26b1284ba799237e2659a9177670929e58f7 Mon Sep 17 00:00:00 2001 From: Nithin MSV <34873896+NithinMSV@users.noreply.github.com> Date: Mon, 22 Oct 2018 18:15:50 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bef7c17..636c88d 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# python \ No newline at end of file +# Python for Data Science