class_docstr: Yahoo Finance connector for retrieving stock data.
class_docstr_tok: ["Yahoo","Finance","connector","for","retrieving","stock","data","."]
docstr: Return the hash code that is unique to the columns of the data source
  that the connector is connected to.
  
  Returns:
      int: The hash code that is unique to the columns of the data source
      that the connector is connected to.
docstr_tok: ["Return","the","hash","code","that","is","unique","to","the","columns","of","the","data","source","that","the","connector","is","connected","to",".","Returns",":","int",":","The","hash","code","that","is","unique","to","the","columns","of","the","data","source","that","the","connector","is","connected","to","."]
code: def column_hash(self):
      """
      Return the hash code that is unique to the columns of the data source
      that the connector is connected to.
  
      Returns:
          int: The hash code that is unique to the columns of the data source
          that the connector is connected to.
      """
      stock_data = self.execute()
      columns_str = "|".join(stock_data.columns)
      return hashlib.sha256(columns_str.encode("utf-8")).hexdigest()
  
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 9 for calling the YahooFinanceConnector obj's underlying member method code with example usage: obj.column_hash() and returns: hashlib