Skip to content

Commit

Permalink
shorten test docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
rwedge committed Jan 15, 2025
1 parent ae6ef8e commit 94e736e
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions tests/unit/synthesizer/test_ctgan.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,25 +297,6 @@ def test__validate_null_data(self):
Check the appropriate error is raised if null values are present in
continuous columns, both for numpy arrays and dataframes.
Setup:
- Create dataframe with a continuous column
- Create numpy array with same data
- Create dataframe with a discrete column
- Create numpy array with a discrete column
Input:
- train_data = 2-dimensional numpy array or a pandas.DataFrame
- discrete_columns = list of strings or integers
Output:
None
Side Effects:
- Raises error if a continuous column contains a null value.
Note:
- could create another function for numpy array
"""
# Setup
discrete_df = pd.DataFrame({'discrete': ['a', 'b']})
Expand Down

0 comments on commit 94e736e

Please sign in to comment.