code: def _remove_excessive_whitespace(text):
      return " ".join([w for w in text.split(" ") if w])
  
imports: import json
  import os
  import re
  from etils import epath
  import tensorflow_datasets.public_api
label_desc: Use image node_id 2 for calling a global function with example usage: _remove_excessive_whitespace(text) and returns: str