2020-10-06 23:10:08 +05:30

1.2 KiB

id, challengeType, isHidden, videoId
id challengeType isHidden videoId
5e9a093a74c4063ca6f7c162 11 false ViGEv0zOzUk

Description

More resources: - Reading CSVs Notebook - Reading SQL - Reading HTML - Reading Excel files

Tests

question:
  text: |
    How would you import the CSV file `data.csv` and store it in a DataFrame using the Pandas module?
  answers:
    - |
      ```python
      import pandas as pd
      df = pd.csv("data.csv")
      ```
    - |
      ```python
      import pandas as pd
      df = pd.read_csv("data.csv")
      ```
    - |
      ```python
      import pandas as pd
      pd.read_csv("data.csv")
      ```
    - |
      ```python
      import pandas as pd
      df = pd.csv_reader("data.csv")
      ```
  solution: 2