Back to Community
How to get rate values from FRED DGS10

I am trying to get the rate values of DGS10, but it doesn't give me the rate. All i get is "float64".

Can someone please assist?

from quantopian.pipeline.data.quandl import fred_dgs10

def initialize (context):  
    schedule_function(monthly, date_rules.month_start(), time_rules.market_open())

def monthly(context, data):  
    print(fred_dgs10.value)