Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed May 3, 2024
1 parent 45f4e92 commit 0f4f5ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
14 changes: 3 additions & 11 deletions py-polars/src/lazyframe/visitor/nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ pub struct DataFrameScan {
pub struct SimpleProjection {
#[pyo3(get)]
input: usize,
#[pyo3(get)]
duplicate_check: bool,
}

#[pyclass]
Expand Down Expand Up @@ -328,15 +326,9 @@ pub(crate) fn into_py(py: Python<'_>, plan: &IR) -> PyResult<PyObject> {
selection: selection.as_ref().map(|e| e.into()),
}
.into_py(py),
IR::SimpleProjection {
input,
columns: _,
duplicate_check,
} => SimpleProjection {
input: input.0,
duplicate_check: *duplicate_check,
}
.into_py(py),
IR::SimpleProjection { input, columns: _ } => {
SimpleProjection { input: input.0 }.into_py(py)
},
IR::Select {
input,
expr,
Expand Down
1 change: 0 additions & 1 deletion py-polars/tests/unit/functions/test_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def test_concat_align_no_common_cols() -> None:
def test_concat_diagonal(
a: pl.DataFrame, b: pl.DataFrame, c: pl.DataFrame, strategy: ConcatMethod
) -> None:
print(a, b, c);
for out in [
pl.concat([a, b, c], how=strategy),
pl.concat([a.lazy(), b.lazy(), c.lazy()], how=strategy).collect(),
Expand Down

0 comments on commit 0f4f5ec

Please sign in to comment.