From cc170149ac83f199bb53ddc9e291b17a981d6f1d Mon Sep 17 00:00:00 2001 From: Peter Kok Date: Tue, 9 Jan 2024 14:58:35 +0100 Subject: [PATCH] This is not typescript --- src/tsdf/read_binary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tsdf/read_binary.py b/src/tsdf/read_binary.py index 67c7835..f7de3cd 100644 --- a/src/tsdf/read_binary.py +++ b/src/tsdf/read_binary.py @@ -5,7 +5,7 @@ """ import os -from typing import List +from typing import List, Union import numpy as np import pandas as pd from tsdf import numpy_utils @@ -13,7 +13,7 @@ from tsdf.constants import ConcatenationType -def load_binaries_to_dataframe(metadatas: '[tsdfmetadata.TSDFMetadata]', concatenation: ConcatenationType = ConcatenationType.none) -> pd.DataFrame | List[pd.DataFrame]: +def load_binaries_to_dataframe(metadatas: '[tsdfmetadata.TSDFMetadata]', concatenation: ConcatenationType = ConcatenationType.none) -> Union[pd.DataFrame, List[pd.DataFrame]]: """ Load binary files associated with TSDF and return a combined pandas DataFrame.