Skip to content

Commit 333b7d3

Browse files
committed
rename
1 parent eba0212 commit 333b7d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bigframes/ml/model_selection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def train_test_split(
6464
raise ValueError(
6565
"Stratified train/test split is not implemented for shuffle=False"
6666
)
67-
bf_arrays = list(utils.batch_convert_to_bf_array_type(*arrays))
67+
bf_arrays = list(utils.batch_convert_to_bf_equivalent(*arrays))
6868

6969
total_rows = len(bf_arrays[0])
7070
train_rows = int(total_rows * train_size)

bigframes/ml/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def batch_convert_to_series(
7979
)
8080

8181

82-
def batch_convert_to_bf_array_type(
82+
def batch_convert_to_bf_equivalent(
8383
*input: ArrayType, session: Optional[Session] = None
8484
) -> Generator[Union[bpd.DataFrame, bpd.Series], None, None]:
8585
"""Converts the input to BigFrames DataFrame or Series.

0 commit comments

Comments
 (0)