I have a large npz file that l've loaded with numpy's np.load. I want to convert this to panda's dataframe so l can apply machine learning algorithms (KNN, K-Means, DT) using scikit-learn. I am new to python so my experience is very limited to this library. Thank you for the help.
This is what l have so far:
dataset = np.load('./example.npz')
test_data = dataset['data']
test_labels = dataset['labels']
print data.shape
gives (17000, 78400)
print labels.shape
gives (17000, 1)