def align_dataframes(framea, frameb, fill_value = 0.0):
    """Use pandas DataFrame structure to align two-dimensional data

    :param framea: First pandas dataframe to align
    :param frameb: Other pandas dataframe to align
    :param fill_value: default fill value (0.0 float)
    return: tuple of aligned frames
    """
    zeroframe = frameb.copy()
    zeroframe[:] = fill_value
    aligneda = framea.add(zeroframe, fill_value = fill_value)
    zeroframe = framea.copy()
    zeroframe[:] = fill_value
    alignedb = frameb.add(zeroframe, fill_value = fill_value)
    return aligneda, alignedb