def create_own_child_column(X):
    """
    Replaces the column 'relationship' with a binary one called own-child
    """
    new_column = X['relationship'] == 'own-child'
    X_transformed = X.assign(own_child=new_column)
    X_transformed = X_transformed.drop('relationship', axis=1)
    return X_transformed