def get_indexes(dfobj, value):
    """Get a list with location index of a value or string in the
    DataFrame requested.

    Parameters
    ----------
    dfobj : pandas.DataFrame
        Data frame where the value will be searched.
    value : str, int, float
        String, integer or float to be searched.

    Returns
    -------
    listofpos : list
        List which contains the location of the value in the Data
        frame. The first elements will correspond to the index and
        the second element to the columns
    """
    # Empty list
    listofpos = []

    # isin() method will return a dataframe with boolean values,
    # True at the positions where element exists
    result = dfobj.isin([value])

    # any() method will return a boolean series
    seriesobj = result.any()

    # Get list of column names where element exists
    columnnames = list(seriesobj[seriesobj].index)

    # Iterate over the list of columns and extract the row index
    # where element exists
    for col in columnnames:
        rows = list(result[col][result[col]].index)

        for row in rows:
            listofpos.append((row, col))

    return listofpos