Last active
May 12, 2018 21:25
-
-
Save grohith327/0bb12ae3d2d6073fa722c1c07a5662e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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