HF RL Explorer

Fix AttributeError when design is a DataFrame

Fix AttributeError when design is a DataFrame: a task in life-science-SWE1.0 (Harbor dataset). Title: Fix AttributeError when design is a DataFrame

The task

**Title:** Fix AttributeError when design is a DataFrame

Part of scalingX/life-science-SWE1.0.