@@ -389,7 +389,7 @@ def test_mask_series_cond(scalars_df_index, scalars_pandas_df_index):
389389def test_where_multi_index (scalars_df_index , scalars_pandas_df_index ):
390390 columns = ["int64_col" , "float64_col" ]
391391
392- # Prepre the multi-index.
392+ # Prepare the multi-index.
393393 index = pd .MultiIndex .from_tuples (
394394 [
395395 (0 , "a" ),
@@ -419,7 +419,7 @@ def test_where_multi_index(scalars_df_index, scalars_pandas_df_index):
419419 dataframe_bf .columns .name = "test_name"
420420 dataframe_pd .columns .name = "test_name"
421421
422- # Test1 : when condition is series and other is None.
422+ # Case1 : when condition is series and other is None.
423423 series_cond_bf = dataframe_bf ["int64_col" ] > 0
424424 series_cond_pd = dataframe_pd ["int64_col" ] > 0
425425
@@ -435,7 +435,7 @@ def test_where_multi_index(scalars_df_index, scalars_pandas_df_index):
435435 assert isinstance (bf_result .index , pd .MultiIndex ), "Expected a MultiIndex"
436436 assert isinstance (pd_result .index , pd .MultiIndex ), "Expected a MultiIndex"
437437
438- # Test2 : when condition is series and other is dataframe.
438+ # Case2 : when condition is series and other is dataframe.
439439 series_cond_bf = dataframe_bf ["int64_col" ] > 1000.0
440440 series_cond_pd = dataframe_pd ["int64_col" ] > 1000.0
441441 dataframe_other_bf = dataframe_bf * 100.0
@@ -450,7 +450,7 @@ def test_where_multi_index(scalars_df_index, scalars_pandas_df_index):
450450 check_dtype = False ,
451451 )
452452
453- # Test3 : when condition is dataframe and other is a constant.
453+ # Case3 : when condition is dataframe and other is a constant.
454454 dataframe_cond_bf = dataframe_bf > 0
455455 dataframe_cond_pd = dataframe_pd > 0
456456 other = 0
@@ -464,7 +464,7 @@ def test_where_multi_index(scalars_df_index, scalars_pandas_df_index):
464464 check_dtype = False ,
465465 )
466466
467- # Test4 : when condition is dataframe and other is dataframe.
467+ # Case4 : when condition is dataframe and other is dataframe.
468468 dataframe_cond_bf = dataframe_bf < 1000.0
469469 dataframe_cond_pd = dataframe_pd < 1000.0
470470 dataframe_other_bf = dataframe_bf * - 1.0
0 commit comments