data-science-interview/notebooks/interview.ipynb

3.8 KiB

In [1]:
from pathlib import Path

import pandas as pd

DATA_PATH = Path("../data/iris.csv")

df = pd.read_csv(DATA_PATH)
In [2]:
df.head()
Out[2]:
sepal length (cm) sepal width (cm) petal length (cm) petal width (cm) target
0 5.1 3.5 1.4 0.2 0
1 4.9 3.0 1.4 0.2 0
2 4.7 3.2 1.3 0.2 0
3 4.6 3.1 1.5 0.2 0
4 5.0 3.6 1.4 0.2 0