Skip to content

Commit 94e736e

Browse files
committed
shorten test docstring
1 parent ae6ef8e commit 94e736e

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

tests/unit/synthesizer/test_ctgan.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -297,25 +297,6 @@ def test__validate_null_data(self):
297297
298298
Check the appropriate error is raised if null values are present in
299299
continuous columns, both for numpy arrays and dataframes.
300-
301-
Setup:
302-
- Create dataframe with a continuous column
303-
- Create numpy array with same data
304-
- Create dataframe with a discrete column
305-
- Create numpy array with a discrete column
306-
307-
Input:
308-
- train_data = 2-dimensional numpy array or a pandas.DataFrame
309-
- discrete_columns = list of strings or integers
310-
311-
Output:
312-
None
313-
314-
Side Effects:
315-
- Raises error if a continuous column contains a null value.
316-
317-
Note:
318-
- could create another function for numpy array
319300
"""
320301
# Setup
321302
discrete_df = pd.DataFrame({'discrete': ['a', 'b']})

0 commit comments

Comments
 (0)