def DFDropNullRows(df):
    """deletes null rows"""
    from pandas import DataFrame, isnull
    ind = df.index.values
    nanind = []
    df2 = df
    for i in range(len(ind)):
        if all(isnull(df[df.index == ind[i]]).values[0]):
            nanind.append(ind[i])
    df = df.drop(nanind)
    return df
