Is PandasAI
(class) for backward compatibility purposes only?
#503
mspronesti
started this conversation in
General
Replies: 1 comment 1 reply
-
@mspronesti that's a very good point. Yes, it's indeed only maintained for backward compatibility and will be removed completely in the future. The effort has been to support for most of the previous cases but at the same time not supporting for additional new features not to incentivize using it. One thing we could do every time it is instantiated is logging some kind of warning, letting the user know that it will be deprecated and redirecting them to the docs. What do you think? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @gventuri,
I noticed that, while from v1.0 onwards the whole logic seems to have been moved to
SmartDataframe
,PandasAI
(class) is still supported. Is this for backward compatibility purposes only?It seems like that quite some people are still using pandasai "the old way" (ie. with
PandasAI
) facing some troubles as not all the features have been maintained in the transition process. Before opening a PR for them, I'd like to make sure these considerations are correct.Also, if it is the case, I believe a deprecation warning shown when instantiating a
PandasAI
class would make sense.Beta Was this translation helpful? Give feedback.
All reactions