Skip to content

Commit

Permalink
Clean internals imports (#1847)
Browse files Browse the repository at this point in the history
  • Loading branch information
zundertj committed Nov 21, 2021
1 parent 3a2fad9 commit 6aca48d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions py-polars/polars/internals/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"""
from .expr import Expr, _selection_to_pyexpr_list, expr_to_lit_or_expr, wrap_expr
from .frame import DataFrame, wrap_df
from .functions import arg_where, concat, date_range, get_dummies, repeat
from .functions import concat, date_range # DataFrame.describe() & DataFrame.upsample()
from .lazy_frame import LazyFrame, wrap_ldf
from .lazy_functions import arange, argsort_by, col, concat_list, lit
from .lazy_functions import argsort_by, col, concat_list, lit
from .series import Series, wrap_s
from .whenthen import when # used in expr.clip()
2 changes: 1 addition & 1 deletion py-polars/polars/internals/lazy_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ def arange(

if eager:
df = pli.DataFrame({"a": [1]})
return df.select(pli.arange(low, high, step).alias("arange"))["arange"] # type: ignore
return df.select(arange(low, high, step).alias("arange"))["arange"] # type: ignore

return pli.wrap_expr(pyarange(low._pyexpr, high._pyexpr, step))

Expand Down

0 comments on commit 6aca48d

Please sign in to comment.