diff --git a/lib/get_internal_attribute_history.py b/lib/get_internal_attribute_history.py
index b9f988827b0218b733b22c3ec3ee1e00fc530769..735be01613611d73f39678f6b0ed5fb1f1c56a70 100755
--- a/lib/get_internal_attribute_history.py
+++ b/lib/get_internal_attribute_history.py
@@ -12,6 +12,5 @@ def get_internal_attribute_history(device: DeviceProxy, attribute_name: str, dep
         raise ValueError("Cannot access the internal history of the attribute '{}/{}'.".format(device.name(), attribute_name)) from e
 
     history_values = array([entry.value for entry in history])
-    history_values_transposed = history_values.transpose()
-    values = array([vals for vals in history_values_transposed])
+    values = history_values.transpose()
     return values