diff --git a/mopet/mopet.py b/mopet/mopet.py
index 91b380f..f8abbae 100644
--- a/mopet/mopet.py
+++ b/mopet/mopet.py
@@ -547,11 +547,10 @@ class Exploration:
         for array in group:
             if isinstance(array, tables.array.Array):
                 value = array.read()
-                if not isinstance(value, np.ndarray):
-                    value = np.array(value)
-                # convert 0-dim arrays to floats
-                if value.ndim == 0:
-                    value = np.float(value)
+                # unwrap 0-dim arrays
+                if type(value) is np.ndarray and value.ndim == 0:
+                    value = array.dtype.type(value)
+
                 key = array._v_name
                 return_dict[key] = value
         return return_dict
diff --git a/setup.py b/setup.py
index dc8df4f..4a592e3 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ with open("requirements.txt") as f:
 
 setuptools.setup(
     name="mopet",
-    version="0.1.4",
+    version="0.1.5",
     description="The mildly ominous parameter exploration toolkit",
     long_description=long_description,
     long_description_content_type="text/markdown",

bool values get transformed to numpy float type
### Description

Problem is that 0 dim arrays get always converted to float without checking the type of the given value. 

### Minimal Example:

```python
import numpy as np
from mopet import mopet

def run(params):
    return {
        "test": True,
        "test2": False
    }

ex = mopet.Exploration(run, {"a": np.arange(0, 1, 0.5)})
ex.run()
ex.load_results()

print(ex.df)
```
Output:
```
     a  test  test2
0    0   1.0    0.0
1  0.5   1.0    0.0
```

Values for test and test2 changed from bool type to numpy float type.


diff --git a/tests/test_exploration.py b/tests/test_exploration.py
index 051cd01..58f91d2 100644
--- a/tests/test_exploration.py
+++ b/tests/test_exploration.py
@@ -63,3 +63,46 @@ class TestExploration(unittest.TestCase):
 
         # Run again, but exploration already exists -> will throw exception.
         self.assertRaises(ExplorationExistsError, ex.run)
+
+    def test_exploration_with_supported_types(self):
+        """
+        Tests if stored result dict containing all supported data types is loaded expected.
+
+        Supported objects are:
+            * NumPy array
+            * Record or scalar
+            * Homogeneous list or tuple
+            * Integer, float, complex or bytes
+
+        This is determined by supported types of array in pytables.
+
+        See here for supported data types in PyTables (https://www.pytables.org/usersguide/datatypes.html).
+
+        """
+        result_dict = {
+            "bool_true": True,
+            "bool_false": False,
+            "bool_array": [True, False],
+            "int": np.int(1),
+            "float": 42.0,
+            "float_array": [1.0, 2.0],
+            "complex": 4 + 3j,
+            "tuple": (1, 2),
+            "bytes": b"\x04",
+        }
+
+        def run(params):
+            return result_dict
+
+        ex = mopet.Exploration(run, {"a": np.arange(0, 1, 0.5)})
+        ex.run()
+        ex.load_results(all=True)
+
+        print(ex.df)
+
+        for key, result in ex.results.items():
+            expected_result = dict(result_dict)
+
+            # tuple is transformed to array by PyTables
+            expected_result["tuple"] = [1, 2]
+            self.assertDictEqual(result, expected_result)

pip install -e .
parse_log_pytest
requirements.txt
pytest flake8
apt-get update apt-get install -y gcc
3.7
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
aiohttp==3.8.6
aiosignal==1.3.1
async-timeout==4.0.3
asynctest==0.13.0
attrs==24.2.0
certifi @ file:///croot/certifi_1671487769961/work/certifi
charset-normalizer==3.4.1
click==8.1.8
exceptiongroup==1.2.2
filelock==3.12.2
flake8==5.0.4
frozenlist==1.3.3
grpcio==1.62.3
idna==3.10
importlib-metadata==4.2.0
importlib-resources==5.12.0
iniconfig==2.0.0
jsonschema==4.17.3
mccabe==0.7.0
-e git+https://github.com/caglorithm/mopet.git@309dc0607de03ef9ddebe87140ca8cceecf64f33#egg=mopet
msgpack==1.0.5
multidict==6.0.5
numexpr==2.8.6
numpy==1.21.6
packaging==24.0
pandas==1.3.5
pkgutil_resolve_name==1.3.10
pluggy==1.2.0
protobuf==4.24.4
psutil==7.0.0
pycodestyle==2.9.1
pyflakes==2.5.0
pyrsistent==0.19.3
pytest==7.4.4
python-dateutil==2.9.0.post0
pytz==2025.2
PyYAML==6.0.1
ray==2.7.2
requests==2.31.0
setproctitle==1.3.3
six==1.17.0
tables==3.7.0
tomli==2.0.1
tqdm==4.67.1
typing_extensions==4.7.1
urllib3==2.0.7
yarl==1.9.4
zipp==3.15.0

name: mopet
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2022.12.7=py37h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=22.3.1=py37h06a4308_0
  - python=3.7.16=h7a1cb2a_0
  - readline=8.2=h5eee18b_0
  - setuptools=65.6.3=py37h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.38.4=py37h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - aiohttp==3.8.6
      - aiosignal==1.3.1
      - async-timeout==4.0.3
      - asynctest==0.13.0
      - attrs==24.2.0
      - charset-normalizer==3.4.1
      - click==8.1.8
      - exceptiongroup==1.2.2
      - filelock==3.12.2
      - flake8==5.0.4
      - frozenlist==1.3.3
      - grpcio==1.62.3
      - idna==3.10
      - importlib-metadata==4.2.0
      - importlib-resources==5.12.0
      - iniconfig==2.0.0
      - jsonschema==4.17.3
      - mccabe==0.7.0
      - msgpack==1.0.5
      - multidict==6.0.5
      - numexpr==2.8.6
      - numpy==1.21.6
      - packaging==24.0
      - pandas==1.3.5
      - pkgutil-resolve-name==1.3.10
      - pluggy==1.2.0
      - protobuf==4.24.4
      - psutil==7.0.0
      - pycodestyle==2.9.1
      - pyflakes==2.5.0
      - pyrsistent==0.19.3
      - pytest==7.4.4
      - python-dateutil==2.9.0.post0
      - pytz==2025.2
      - pyyaml==6.0.1
      - ray==2.7.2
      - requests==2.31.0
      - setproctitle==1.3.3
      - six==1.17.0
      - tables==3.7.0
      - tomli==2.0.1
      - tqdm==4.67.1
      - typing-extensions==4.7.1
      - urllib3==2.0.7
      - yarl==1.9.4
      - zipp==3.15.0
prefix: /opt/conda/envs/mopet

tests/test_exploration.py::TestExploration::test_exploration_with_supported_types
tests/test_exploration.py::TestExploration::test_exploration tests/test_exploration.py::TestExploration::test_exploration_with_name_exists tests/test_exploration.py::TestExploration::test_hdf_file_not_exists
setup.py mopet/mopet.py
setup.py mopet/mopet.py