Skip to content

Commit 78a85f6

Browse files
style fixes
1 parent de10885 commit 78a85f6

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

bigframes/core/col.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import bigframes.operations as bf_ops
2323

2424

25-
# Not to be confused with internal Expressions class
25+
# Not to be confused with the Expression class in `bigframes.core.expressions`
2626
# Name collision unintended
2727
@dataclasses.dataclass(frozen=True)
2828
class Expression:

tests/unit/test_col.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def test_pd_col_unary_operators(scalars_dfs, op):
9393
"result": op(pd.col("float64_col")), # type: ignore
9494
}
9595
df = scalars_df.assign(**bf_kwargs)
96+
9697
bf_result = df.to_pandas()
9798
pd_result = scalars_pandas_df.assign(**pd_kwargs)
9899

@@ -126,6 +127,7 @@ def test_pd_col_binary_operators(scalars_dfs, op):
126127
"reverse_result": op(2.4, pd.col("float64_col")), # type: ignore
127128
}
128129
df = scalars_df.assign(**bf_kwargs)
130+
129131
bf_result = df.to_pandas()
130132
pd_result = scalars_pandas_df.assign(**pd_kwargs)
131133

@@ -151,6 +153,7 @@ def test_pd_col_binary_bool_operators(scalars_dfs, op):
151153
"reverse_result": op(False, pd.col("bool_col")), # type: ignore
152154
}
153155
df = scalars_df.assign(**bf_kwargs)
156+
154157
bf_result = df.to_pandas()
155158
pd_result = scalars_pandas_df.assign(**pd_kwargs)
156159

tests/unit/test_dataframe_polars.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,7 @@ def test_assign_using_pd_col(scalars_dfs):
840840
"new_col_1": 4 - pd.col("int64_col"), # type: ignore
841841
"new_col_2": pd.col("int64_col") / (pd.col("float64_col") * 0.5), # type: ignore
842842
}
843+
843844
df = scalars_df.assign(**bf_kwargs)
844845
bf_result = df.to_pandas()
845846
pd_result = scalars_pandas_df.assign(**pd_kwargs)

0 commit comments

Comments
 (0)