summarize#

Survey.summarize(column_selection: str | int | list | ndarray | Series | range | Callable[[SurveyVariable], bool] | None = None) DataFrame#

Create a summary of some interesting aspects of this survey.

Parameters#

column_selectionstr, int, list, np.ndarray, pd.Series, range, QuestionSelector or None

If None, all columns are taken into account. Otherwise, a subset will be considered. The parameter is interpreted as described in Survey.interpret_column_selection().

Returns#

pandas.DataFrame

A dataframe containing information about the variables and their data.