From 158cef94a09ce358b12a038964b938664b5b52bf Mon Sep 17 00:00:00 2001 From: Javier Garcia-Bernardo Date: Thu, 20 Jun 2024 13:02:30 +0200 Subject: [PATCH] add return --- netcbs/netcbs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/netcbs/netcbs.py b/netcbs/netcbs.py index b99ef15..e19516d 100644 --- a/netcbs/netcbs.py +++ b/netcbs/netcbs.py @@ -190,6 +190,9 @@ def convert_to_polars(df: Union[pl.DataFrame, pl.LazyFrame, pd.DataFrame], lazy: return df.collect() else: return df + else: + raise ValueError('The dataframe is not a valid type') + def transform( query: str,