Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _fit(self, data):
"""Fit the model to the table.
Args:
table_data (pandas.DataFrame):
Data to be fitted.
"""
self._model = copulas.multivariate.GaussianMultivariate(distribution=self._distribution)
self._model.fit(data)
self._update_metadata()