Skip to content

Commit

Permalink
docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
R-Palazzo committed Jan 13, 2025
1 parent c6d1942 commit c8634ad
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions sdv/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,14 +453,20 @@ def _is_numerical(value):


def _prepare_data_vizualisation(data, metadata, column_names, sample_size):
"""Prepare the data for a column pair plot.
"""Prepare the data for a plot.
Args:
data (pd.DataFrame):
data (pd.DataFrame or None):
The data to be prepared.
metadata (Metadata):
The metadata of the data.
column_names (str or list[str]):
The column names to plot.
sample_size (int or None):
The number of samples to plot. If ``None``, use the whole dataset.
Returns:
pd.DataFrame:
pd.DataFrame or None:
The prepared data.
"""
if data is None:
Expand Down

0 comments on commit c8634ad

Please sign in to comment.