Skip to content

Commit

Permalink
Update columns to avoid confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
lajohn4747 committed May 9, 2024
1 parent a40e9db commit 304a6c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sdv/metadata/multi_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion sdv/metadata/single_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 304a6c3

Please sign in to comment.