From 304a6c385121ab77253f9142095522130c658912 Mon Sep 17 00:00:00 2001 From: lajohn4747 Date: Wed, 8 May 2024 23:31:35 -0500 Subject: [PATCH] Update columns to avoid confusion --- sdv/metadata/multi_table.py | 4 ++-- sdv/metadata/single_table.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdv/metadata/multi_table.py b/sdv/metadata/multi_table.py index 333de5455..a8ef5e174 100644 --- a/sdv/metadata/multi_table.py +++ b/sdv/metadata/multi_table.py @@ -525,7 +525,7 @@ def detect_table_from_dataframe(self, table_name, data): """Detect the metadata for a table from a dataframe. This method automatically detects the ``sdtypes`` for the given ``pandas.DataFrame``, - for a specified table. All data columns are converted to strings. + for a specified table. All data column names are converted to strings. Args: table_name (str): @@ -543,7 +543,7 @@ def detect_from_dataframes(self, data): """Detect the metadata for all tables in a dictionary of dataframes. This method automatically detects the ``sdtypes`` for the given ``pandas.DataFrame``. - All data columns are converted to strings. + All data column names are converted to strings. Args: data (dict): diff --git a/sdv/metadata/single_table.py b/sdv/metadata/single_table.py index 5ea80eb9f..a91a02064 100644 --- a/sdv/metadata/single_table.py +++ b/sdv/metadata/single_table.py @@ -581,7 +581,7 @@ def detect_from_dataframe(self, data): """Detect the metadata from a ``pd.DataFrame`` object. This method automatically detects the ``sdtypes`` for the given ``pandas.DataFrame``. - All data columns are converted to strings. + All data column names are converted to strings. Args: data (pandas.DataFrame):