code: def find_max_min_value_in_a_dataframe(df, max_min="min"):
      """
      This returns the lowest or highest value in a df and its row value where it can be found.
      Unfortunately, it does not return the column where it is found. So not used much.
      """
      if max_min == "min":
          return (
              df.loc[:, list(df)].min(axis=1).min(),
              df.loc[:, list(df)].min(axis=1).idxmin(),
          )
      else:
          return (
              df.loc[:, list(df)].max(axis=1).max(),
              df.loc[:, list(df)].min(axis=1).idxmax(),
          )
  
imports: from typing import List
  import numpy
  import pandas
  import copy
  import pdb
  from sklearn.model_selection import TimeSeriesSplit
  import dask
  import dask.dataframe
  import datetime
  from datetime import datetime, date, time
label_desc: Use image node_id 9 for calling a global function with example usage: find_max_min_value_in_a_dataframe(df, max_min) and returns: df,  df, df,  df