We will start with loading the data into a variable, which we will use for further analysis
- Loads a dataset using panda's read_csv api with the following specifications:
Notice that you need to drop the index column.
| Parameter | dtype | argument type | default value | description |
|---|---|---|---|---|
| path | string | compulsory | path to the file csv |
| Return | dtype | description |
|---|---|---|
| df | Pandas DataFrame | DataFrame for creating our model |