def get_standard_freq(freq):
 msg = 'get_standard_freq is deprecated. Use to_offset(freq).rule_code instead.'
 warnings.warn(msg, FutureWarning, stacklevel=2)
 return to_offset(freq).rule_code

def get_standard_freq ( freq ) : msg = 'get_standard_freq is deprecated. Use to_offset(freq).rule_code instead.' warnings . warn ( msg , FutureWarning , stacklevel = 2 ) return to_offset ( freq ) . rule_code
return the standardized frequency string .