def analytics(dataframe):
    newattr = [('newval' + str(i)) for i in range(dataframe.shape[0])]
    dataframe['x_new_attr'] = newattr
    display = '<p>Hello World! -- a Kestrel analytics</p>'
    return (dataframe, display)
def analytics(dataframe):
    newattr = [('newval' + str(i)) for i in range(dataframe.shape[0])]
    dataframe['x_new_attr'] = newattr
    display = '<p>Hello World! -- a Kestrel analytics</p>'
    return (dataframe, display)