From my understanding, the scikit-learn accepts data in (n-sample, n-feature) format which is a 2D array. Assuming I have data in the form ...
Stock prices in
numpy
import numpy as np dataset = np.loadtxt('./example.csv', delimiter=',')