quantlib.util.converter.df_to_zero_curve

df_to_zero_curve(rates, settlement_date, daycounter=DayCounter('Actual/365 (Fixed)'))

Converts a pandas data frame into a QL zero curve.