Skip to content

Commit

Permalink
Move lazy import to top of file
Browse files Browse the repository at this point in the history
  • Loading branch information
AVHopp committed Nov 5, 2024
1 parent 0625117 commit e74d68d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions baybe/searchspace/continuous.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
from baybe.serialization import SerialMixin, converter, select_constructor_hook
from baybe.utils.basic import to_tuple
from baybe.utils.dataframe import get_transform_objects, pretty_print_df
from baybe.utils.numerical import DTypeFloatNumpy
from baybe.utils.plotting import to_string

if TYPE_CHECKING:
Expand Down Expand Up @@ -277,8 +278,6 @@ def comp_rep_columns(self) -> tuple[str, ...]:
@property
def comp_rep_bounds(self) -> pd.DataFrame:
"""The minimum and maximum values of the computational representation."""
from baybe.utils.numerical import DTypeFloatNumpy

return pd.DataFrame(
{p.name: p.bounds.to_tuple() for p in self.parameters},
index=["min", "max"],
Expand Down

0 comments on commit e74d68d

Please sign in to comment.