diff --git a/pandasai/smart_dataframe/__init__.py b/pandasai/smart_dataframe/__init__.py index 2b1e4d81b..c73769eda 100644 --- a/pandasai/smart_dataframe/__init__.py +++ b/pandasai/smart_dataframe/__init__.py @@ -155,7 +155,10 @@ def load_connector(self, temporary: bool = False): Load a connector into the smart dataframe Args: - connector (BaseConnector): Connector to be loaded + temporary (bool): Whether the connector is for one time usage. + If `True` passed, the connector will be unbound during + the next call of `dataframe` providing that dataframe has + been loaded. """ self.dataframe = self.connector.execute() self._df_loaded = True