TermBuilder.from_df()#
- classmethod TermBuilder.from_df(data, prefix_names_by='', default_inference=MCMCSpec(<bound method IWLSKernel.untuned of <class 'liesel.goose.iwls.IWLSKernel'>>, self.kernel_group=None), default_scale_fn=(1.0, 0.005, 1.0))[source]#
Initializes a TermBuilder from a pandas dataframe.
Internally, this will create a
PandasRegistrywithna_action="drop".The other arguments are passed on to the init.
- Return type: