Skip to content

Commit 6d63d2d

Browse files
jarverhajarverha
authored andcommitted
pray
1 parent a906fdf commit 6d63d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

powershap/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def powerSHAP_statistical_analysis(
6262
effect_size.append(0)
6363
power_list.append(0)
6464

65-
required_iterations = [x[0] if isinstance(x, list) else x for x in required_iterations]
65+
required_iterations = [x[0] if not (isinstance(x, float) or isinstance(x, int)) else x for x in required_iterations]
6666

6767
processed_shaps_df = pd.DataFrame(
6868
data=np.hstack(

0 commit comments

Comments
 (0)