Skip to content

Commit

Permalink
Remove unnessary imports (#3988)
Browse files Browse the repository at this point in the history
  • Loading branch information
zundertj committed Jul 12, 2022
1 parent e39d7be commit c563a72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 2 additions & 1 deletion py-polars/polars/internals/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
)
from .datatypes import IntoExpr
from .expr import Expr, expr_to_lit_or_expr, selection_to_pyexpr_list, wrap_expr
from .frame import DataFrame, LazyFrame, wrap_df, wrap_ldf
from .frame import DataFrame, wrap_df
from .functions import concat, date_range # DataFrame.describe() & DataFrame.upsample()
from .io import _is_local_file, _prepare_file_arg, read_ipc_schema, read_parquet_schema
from .lazy_frame import LazyFrame, wrap_ldf
from .lazy_functions import (
all,
arg_where,
Expand Down
4 changes: 1 addition & 3 deletions py-polars/polars/internals/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
range_to_slice,
)

from .lazy_frame import LazyFrame, wrap_ldf # noqa: F401
from .lazy_frame import LazyFrame # noqa: F401

try:
from polars.polars import PyDataFrame, PySeries
Expand All @@ -64,8 +64,6 @@

try:
import pyarrow as pa
import pyarrow.compute
import pyarrow.parquet

_PYARROW_AVAILABLE = True
except ImportError: # pragma: no cover
Expand Down
3 changes: 0 additions & 3 deletions py-polars/polars/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@

try:
import pyarrow as pa
import pyarrow.csv
import pyarrow.feather
import pyarrow.parquet

_PYARROW_AVAILABLE = True
except ImportError: # pragma: no cover
Expand Down

0 comments on commit c563a72

Please sign in to comment.