def getdf_chunks(df, num):
    """
    Breaks DataFrame into chunks.
    
    Returns
    -------
    array
        Array of DataFrames
    
    """
    c = round(len(df)/num)
    df_chunks = [df.loc[i*num : (i+1)*num - 1, : ] for i in range(c + 1) if
                 len(df.loc[i*num : (i+1)*num - 1, : ]) != 0]
    
    return(df_chunks)