ipumspy.utilities.tabulate#
- class ipumspy.utilities.tabulate(vardesc, df)[source]#
Single-variable table with labels.
- Parameters:
vardesc (
VariableDescription
) – from the ddi codebookdf (
DataFrame
) – pandas DataFrame containing data to display
- Return type:
- Returns:
pandas Data frame containing values, value labels, frequencies, and proportions for the specified variable