File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 12
12
13
13
import flaky
14
14
import numpy as np
15
+ import pandas
15
16
import pytest
16
17
import scipy .spatial
17
18
27
28
LearnerND ,
28
29
SequenceLearner ,
29
30
)
30
- from adaptive .learner .learner1D import with_pandas
31
31
from adaptive .runner import simple
32
32
33
33
try :
@@ -708,7 +708,6 @@ def wrapper(*args, **kwargs):
708
708
return wrapper
709
709
710
710
711
- @pytest .mark .skipif (not with_pandas , reason = "pandas is not installed" )
712
711
@run_with (
713
712
Learner1D ,
714
713
Learner2D ,
@@ -720,8 +719,6 @@ def wrapper(*args, **kwargs):
720
719
with_all_loss_functions = False ,
721
720
)
722
721
def test_to_dataframe (learner_type , f , learner_kwargs ):
723
- import pandas
724
-
725
722
if learner_type is LearnerND :
726
723
kw = {"point_names" : tuple ("xyz" )[: len (learner_kwargs ["bounds" ])]}
727
724
else :
You can’t perform that action at this time.
0 commit comments