code: def _is_awake(hour):
      return (
          (((hour >= 6) & (hour <= 23)) | (hour == 0))
          .astype(int)
          .values
      )
  
file_path: BigDL/python/chronos/src/bigdl/chronos/data/utils/feature.py
imports: import pandas
  import numpy
  from packaging import version
label_desc: Use image node_id 1 for calling a global function with example usage: _is_awake(hour) and returns: unknown