Skip to content

Instantly share code, notes, and snippets.

@grohith327
Last active May 12, 2018 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grohith327/0bb12ae3d2d6073fa722c1c07a5662e2 to your computer and use it in GitHub Desktop.
Save grohith327/0bb12ae3d2d6073fa722c1c07a5662e2 to your computer and use it in GitHub Desktop.
import pandas as pd
import numpy as np
df = pd.read_csv("/Users/rohith/Documents/Datasets/Tesla_Stock_prices/Tesla_Stock.csv") # read csv file
rows = df.values.tolist() # convert dataframe into a list
rows.reverse()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment