Skip to content

Commit

Permalink
add return
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarciab committed Jun 20, 2024
1 parent 19cd020 commit 158cef9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions netcbs/netcbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 158cef9

Please sign in to comment.