code: def groupby(df, index, dropna=True):
      if has_dropna():
          return df.groupby(index, dropna=dropna)
      return df.groupby(index)
  
file_path: dtale/dtale/pandas_util.py
imports: import pandas
  from logging import getLogger
  from pkg_resources import parse_version
label_desc: Use image node_id 3 for calling a global function with example usage: groupby(df, index, dropna) and returns: df, df