I have a dataframe like this:
how can i get the list like:
[[2017-08-01,1.18263,1.18266,1.18109,1.18113],
......,
[2017-08-18,1.18263,1.18266,1.18109,1.18113]]
I have a dataframe like this:
how can i get the list like:
[[2017-08-01,1.18263,1.18266,1.18109,1.18113],
......,
[2017-08-18,1.18263,1.18266,1.18109,1.18113]]
DataFrame.values
returns the data as a numpy array, from there you can go to a list by adding tolist()