neighbormodels.interactions.label_interaction_parameters

label_interaction_parameters(data_frame: pandas.core.frame.DataFrame) → pandas.core.frame.DataFrame[source]

Adds parameter_names column to data frame that labels the unique parameters of the interaction model. Compatible with the pandas pipe() method.

Parameters:data_frame – A pandas DataFrame of neighbor counts aggregated over site-index pairs and separation distances ranked by subspecies pairs.
Returns:A copy of input data_frame with the parameter_name column added.