Skip to content

Commit

Permalink
Use correct filenames
Browse files Browse the repository at this point in the history
Maud is responsible for the correctness of the filenemes :)
  • Loading branch information
svenvanderburg authored Jun 21, 2023
1 parent ee330c0 commit 380b976
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions episodes/fertility-prediction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ Hint: You might run into an encoding error. See if you can fix it by googling fo
### Reading in the features:
```python
# This might result in UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 50416: invalid start byte
data = pd.read_csv('LISS 2019.csv')
data = pd.read_csv('LISS_example_input_data.csv')

# To tackle the encoding error:
data = pd.read_csv('LISS 2019.csv', encoding='cp1252')
data = pd.read_csv('LISS_example_input_data.csv', encoding='cp1252')
```
### Reading the outcomes:
```python
outcome = pd.read_csv('outcome.csv')
outcome = pd.read_csv('LISS_example_groundtruth_data.csv')
```

::::
Expand Down

0 comments on commit 380b976

Please sign in to comment.