class_docstr: Yahoo Finance connector for retrieving stock data.
class_docstr_tok: ["Yahoo","Finance","connector","for","retrieving","stock","data","."]
docstr: Return the number of columns in the data source that the connector is
  connected to.
  
  Returns:
      int: The number of columns in the data source that the connector is
      connected to.
docstr_tok: ["Return","the","number","of","columns","in","the","data","source","that","the","connector","is","connected","to",".","Returns",":","int",":","The","number","of","columns","in","the","data","source","that","the","connector","is","connected","to","."]
code: def columns_count(self):
      """
      Return the number of columns in the data source that the connector is
      connected to.
  
      Returns:
          int: The number of columns in the data source that the connector is
          connected to.
      """
      stock_data = self.execute()
      return len(stock_data.columns)
  
file_path: pandas-ai/pandasai/connectors/yahoo_finance.py
imports: import os
  import pandas
  from typing import Optional, Union
  from .base import YahooFinanceConnectorConfig, BaseConnector
  import time
  from ..helpers.path import find_project_root
  from ..constants import DEFAULT_FILE_PERMISSIONS
  import hashlib
label_desc: Use image node_id 8 for calling the YahooFinanceConnector obj's underlying member method code with example usage: obj.columns_count() and returns: len