1

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

0

1 Answer 1

2

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
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.