def nulls(x):
    """
    Convert values of -1 into None.

    Parameters
    ----------
    x : float or int
        Value to convert

    Returns
    -------
    val : [x, None]
    """
    if x == -1:
        return None
    else:
        return x