* Importing CSV Using Pandas Module * feat: process video question md into html (#38667) * feat: process video question md into html * test: mdToHTML * fix: use dedicated prism component * fix: Jupyter notebook challenge file name (#38740) * fix quote error Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> Co-authored-by: Eric Leung <eric@erictleung.com> Co-authored-by: Beau Carnes <beaucarnes@gmail.com>
637 B
637 B
id, title, challengeType, videoId
id | title | challengeType | videoId |
---|---|---|---|
5e9a093a74c4063ca6f7c162 | Reading Data CSV and TXT | 11 | ViGEv0zOzUk |
Description
Tests
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