def get_offset_name(offset):
 msg = 'get_offset_name(offset) is deprecated. Use offset.freqstr instead'
 warnings.warn(msg, FutureWarning, stacklevel=2)
 return offset.freqstr

def get_offset_name ( offset ) : msg = 'get_offset_name(offset) is deprecated. Use offset.freqstr instead' warnings . warn ( msg , FutureWarning , stacklevel = 2 ) return offset . freqstr
return rule name associated with a dateoffset object examples get_offset_name(bmonthend(1)) --> eom .