29 lines
652 B
Markdown
Raw Normal View History

---
id: 5e9a093a74c4063ca6f7c162
title: Reading Data CSV and TXT
challengeType: 11
isHidden: true
videoId: ViGEv0zOzUk
---
## Description
<section id='description'>
</section>
## Tests
<section id='tests'>
```yml
question:
text: 'How would you import the CSV file "data.csv" and store it in a DataFrame using the Pandas module?'
answers:
- '<pre>import pandas as pd<br>df = pd.csv("data.csv")</pre>'
- '<pre>import pandas as pd<br>df = pd.read_csv("data.csv")</pre>'
- '<pre>import pandas as pd<br>pd.read_csv("data.csv")</pre>'
- '<pre>import pandas as pd<br>df = pd.csv_reader("data.csv")</pre>'
solution: 2
```
</section>