From d9454e1bd7606b32c3acb9479c12adc19c029ffd Mon Sep 17 00:00:00 2001 From: Gabriele Venturi Date: Thu, 14 Sep 2023 11:27:52 +0200 Subject: [PATCH] fix: enable to_string method from generated code (#511) --- pandasai/helpers/code_manager.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pandasai/helpers/code_manager.py b/pandasai/helpers/code_manager.py index 9979607e5..e07449b1f 100644 --- a/pandasai/helpers/code_manager.py +++ b/pandasai/helpers/code_manager.py @@ -353,7 +353,6 @@ def _is_unsafe(self, node: ast.stmt) -> bool: ".to_gbq", ".to_stata", ".to_records", - ".to_string", ".to_latex", ".to_html", ".to_markdown",