code: def stocks(indexed=False):
      """
      Each row in this wide dataset represents closing prices from 6 tech stocks in 2018/2019.
  
      Returns:
          A `pandas.DataFrame` with 100 rows and the following columns:
          `['date', 'GOOG', 'AAPL', 'AMZN', 'FB', 'NFLX', 'MSFT']`.
          If `indexed` is True, the 'date' column is used as the index and the column index
          is named 'company'"""
      df = _get_dataset("stocks")
      if indexed:
          df = df.set_index("date")
          df.columns.name = "company"
      return df
  
file_path: catboost/contrib/python/plotly/py2/plotly/data/__init__.py
label_desc: Use image node_id 8 for calling a global function with example usage: stocks(indexed) and returns: df