We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98bfafa commit ccdf77fCopy full SHA for ccdf77f
pandasai/helpers/dataframe_serializer.py
@@ -53,4 +53,4 @@ def truncate_value(value):
53
return f"{value[: cls.MAX_COLUMN_TEXT_LENGTH]}…"
54
return value
55
56
- return df.applymap(truncate_value)
+ return df.apply(lambda row: row.apply(truncate_value), axis=1)
0 commit comments