This repository is part of The Synthetic Data Vault Project, a project from DataCebo.

[![Development Status](]( [![PyPi Shield](]( [![Downloads](]( [![Unit Tests](]( [![Coverage Status](]( [![Slack](](



Copulas is a Python library for modeling multivariate distributions and sampling from them using copula functions. Given a table of numerical data, use Copulas to learn the distribution and generate new synthetic data following the same statistical properties.

Key Features:

  • Model multivariate data. Choose from a variety of univariate distributions and copulas – including Archimedian Copulas, Gaussian Copulas and Vine Copulas.

  • Compare real and synthetic data visually after building your model. Visualizations are available as 1D histograms, 2D scatterplots and 3D scatterplots.

  • Access & manipulate learned parameters. With complete access to the internals of the model, set or tune parameters to your choosing.


Install the Copulas library using pip or conda.

pip install copulas
conda install -c conda-forge copulas


Get started using a demo dataset. This dataset contains 3 numerical columns.

```python from copulas.datasets import sample_trivariate_xyz

real_data = sample_trivariate_xyz()

Indices and tables