IniziaInizia gratis

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 working directory. The data consist of disease extents 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 the object df?

Questo esercizio fa parte del corso

Introduction to Importing Data in Python

Visualizza il corso

Esercizio pratico interattivo

Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi

Inizia esercizio