Skip to content

Instantly share code, notes, and snippets.

@joeng03
Last active November 13, 2019 11:41
Show Gist options
  • Save joeng03/5e724ab279955b2a3e3032268e736ce8 to your computer and use it in GitHub Desktop.
Save joeng03/5e724ab279955b2a3e3032268e736ce8 to your computer and use it in GitHub Desktop.
read csv file
import pandas as pd
df = pd.read_csv('GS.csv')
df['Date'] = pd.to_datetime(df.Date)
df.index = df['Date']
plt.figure(figsize=(16,8))
plt.plot(df['Close'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment