1. Learn
  2. /
  3. Courses
  4. /
  5. Importing Data in Python

Connected

Exercise

Using read_stata to import Stata files

The pandas package has been imported in the environment as pd and the file disarea.dta is in your directory. The data consist of disease extent for several diseases in various countries (more information can be found here).

What is the correct way of using the read_stata() function to import disarea.dta into an object, df?

Instructions

50 XP

Possible answers