INNER CODE UNIT · Python

query_db

abhijithneilabraham/tableQA · tableqa/agent.py:151

    def query_db(self, question, verbose=False, chart=None, size=(10, 10), distinct=False):
        """
        This function returns the response for the user question.

        Arguments
        ----------
        question: `str`
                Contains input utterance.
        verbose: `boolean`
                Default False
        chart: `str`
                Specify type of chart. Default None.
        size: `tuple`
                Figure size.
        distinct: `boolean`
                To select distinct values from dataframe

        Returns

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…