Function reference

Table Classes

Main table creation classes

MTable A table creation class supporting multiple output formats.
DTable DTable extends MTable to provide descriptive statistics table functionality.
BTable Balancing table: descriptive stats by group + per-variable p-values from group tests.
ETable Regression table builder on top of MTable.

Utilities

Helper functions

importdta.get_var_labels Get variable labels for a DataFrame.
importdta.set_var_labels Set variable labels on a DataFrame and optionally sync them to MTable.DEFAULT_LABELS.
importdta.import_dta Import a Stata .dta into a pandas DataFrame.
importdta.export_dta Export a DataFrame to a Stata .dta file, writing variable labels.