Skip to content

Commit 0a5a935

Browse files
committed
revert more unnecessary changes
1 parent d80bfcb commit 0a5a935

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

scripts/publish_api_coverage.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,6 @@ def generate_pandas_api_coverage():
204204
def generate_sklearn_api_coverage():
205205
"""Explore all SKLearn modules, and for each item contained generate a
206206
regex to detect it being imported, and record whether we implement it"""
207-
208-
import sklearn # noqa
209-
210207
sklearn_modules = [
211208
"sklearn",
212209
"sklearn.model_selection",

tests/unit/test_dataframe_polars.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2319,8 +2319,7 @@ def test_binop_with_self_aggregate(session, scalars_dfs):
23192319
df_columns = ["int64_col", "float64_col", "int64_too"]
23202320

23212321
bf_df = scalars_df[df_columns]
2322-
bf_deviation = bf_df - bf_df.mean()
2323-
bf_result = bf_deviation.to_pandas()
2322+
bf_result = (bf_df - bf_df.mean()).to_pandas()
23242323

23252324
pd_df = scalars_pandas_df[df_columns]
23262325
pd_result = pd_df - pd_df.mean()

0 commit comments

Comments
 (0)