To solve any machine learning problem, there is a recommended way to go through it. It has been discussed below, in detail.
Fetch the data using any preferred method, and load it into any data structure that seems fit to you for analysing data.
For python, the preffered data structure is Pandas DataFrame.
An example to fetch data using pandas.
import pandas as pd
import numpy as np
data_url = "URL FOR CSV"
df = pd.read_csv(data_url)
This fetches the data from the url provided and stores it in the variable df
Consult experts to understand the significance of each feature, allowing you to identify and remove features that aren't relevant to the problem statement.
The code below shows how to retrieve columns from the pandas Dataframe
features = df.columns[:-1].values