original_docstring: 
      Takes time in seconds from the time_field field of the dataframe actv.
      Converts it into time as a string.
      Time will be in format #h #m #s or #:#:# based on time_format field, default :
      
docstring: Takes time in seconds from the time_field field of the dataframe actv.
  Converts it into time as a string.
docstring_tokens: Takes time in seconds from the time_field field of the dataframe actv . Converts it into time as a string .
code: def seconds_to_time_str(actv, time_field, time_format = ':'):
      '''
      Takes time in seconds from the time_field field of the dataframe actv.
      Converts it into time as a string.
      Time will be in format #h #m #s or #:#:# based on time_format field, default :
      '''
  
      if time_format == 'hms':
          hour_sep = 'h '
          minute_sep = 'm '
          second_sep = 's'
      else:
          hour_sep = ':'
          minute_sep = ':'
          second_sep = ''
  
      time_str = (np.floor(actv[time_field] / SECONDS_IN_HOUR).astype('int64')).astype('str') + hour_sep +         (np.floor(actv[time_field] % SECONDS_IN_HOUR / SECONDS_IN_MINUTE).astype('int64')).astype('str') + minute_sep +         (np.floor(actv[time_field] % SECONDS_IN_HOUR % SECONDS_IN_MINUTE).astype('int64')).astype('str') + second_sep
  
  
      return time_str
code_tokens: def seconds_to_time_str ( actv , time_field , time_format = ':' ) : if time_format == 'hms' : hour_sep = 'h ' minute_sep = 'm ' second_sep = 's' else : hour_sep = ':' minute_sep = ':' second_sep = '' time_str = ( np . floor ( actv [ time_field ] / SECONDS_IN_HOUR ) . astype ( 'int64' ) ) . astype ( 'str' ) + hour_sep + ( np . floor ( actv [ time_field ] % SECONDS_IN_HOUR / SECONDS_IN_MINUTE ) . astype ( 'int64' ) ) . astype ( 'str' ) + minute_sep + ( np . floor ( actv [ time_field ] % SECONDS_IN_HOUR % SECONDS_IN_MINUTE ) . astype ( 'int64' ) ) . astype ( 'str' ) + second_sep return time_str
short_docstring: Takes time in seconds from the time_field field of the dataframe actv.
short_docstring_tokens: Takes time in seconds from the time_field field of the dataframe actv .
comment: '''
      Takes time in seconds from the time_field field of the dataframe actv.
      Converts it into time as a string.
      Time will be in format #h #m #s or #:#:# based on time_format field, default :
      '''