docs: def get_series_number_by_guess_for_liver(dcmreader, counts, bins, qt_app=None):
      """
      Select the venous series from CT with around 200 images
      :param dcmreader:
      :param counts:
      :param bins:
      :param qt_app:
      :return:
      """
      series_info = dcmreader.dicomdirectory.get_stats_of_series_in_dir()
      print(dcmreader.print_series_info(series_info))
      import pandas as pd
      df = pd.DataFrame(list(series_info.values()))
  
      #select CT
      df = df[df["Modality"].str.lower().str.contains("ct") == True]
      # select just venous
      df = df[df["SeriesDescription"].str.lower().str.contains("ven") == True]
      # remove saggittal
      df = df[df["SeriesDescription"].str.lower().str.contains("sag") == False]
      # remove cor
      df = df[df["SeriesDescription"].str.lower().str.contains("cor") == False]
      df["dst_to_200"] = np.abs(200 - df.Count)
      dfs = df.sort_values(by="dst_to_200", ascending=True)
      sn = list(dfs.SeriesNumber)[0]
  
      return sn