code: def process_feature(df, awake_begin=6, awake_end=23):
      import pandas as pd
  
      df["datetime"] = pd.to_datetime(df["timestamp"])
      df["hours"] = df["datetime"].dt.hour
      df["awake"] = (
          ((df["hours"] >= awake_begin) & (df["hours"] <= awake_end))
          | (df["hours"] == 0)
      ).astype(int)
      return df
  
imports: import sys
  from optparse import OptionParser
  import zoo.orca.data.pandas
  from zoo.orca import init_orca_context, stop_orca_context
label_desc: Use image node_id 1 for calling a global function with example usage: process_feature(df, awake_begin, awake_end) and returns: df