I want to practice machine learning so I went to kaggle to get any dataset.
But I don't know how to create numpy array from the csv file data.
Kaggle dataset
If anyone can help
I want to practice machine learning so I went to kaggle to get any dataset.
But I don't know how to create numpy array from the csv file data.
Kaggle dataset
If anyone can help
I would recommend using pandas DataFrames for these kind of tasks.
import pandas as pd
df = pd.read_csv('example.csv')
If you still wish to use an array, you can always:
df.values