docs: def _set_TS_index(self, data):
          """ Convert index to datetime and all other columns to numeric
  
          Parameters
          ----------
          data    : pd.DataFrame()
              Input dataframe. 
  
          Returns
          -------
          pd.DataFrame()
              Modified dataframe.
  
          """
          
          # Set index
          data.index = pd.to_datetime(data.index, error= "ignore")
  
          # Format types to numeric
          for col in data.columns:
              data[col] = pd.to_numeric(data[col], errors="coerce")
  
          return data