Skip to content

Commit

Permalink
fix to dataframe
Browse files Browse the repository at this point in the history
  • Loading branch information
Br4guette authored and Br4guette committed Jul 23, 2024
1 parent 8adc5aa commit 1eb8a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydfirram/core/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def to_df(self,max_row: bool = False) -> pd.DataFrame:
if max_row:
pd.set_option('display.max_rows', None)
pd.set_option('display.max_columns', None)
return pd.DataFrame(data_as_dict.get("data"))
return pd.DataFrame(data_as_dict)
except Exception as e:
logger.error("Data cannot be rendered as a DataFrame.")
raise e

0 comments on commit 1eb8a72

Please sign in to comment.