The feature and source DataFrames should have different row IDs, and the new label column shouldn't resemble a column from the source. Otherwise, it isn't clear that the label column just indicates the presence of elements in the source. The current example might lead a user to think a column is copied into the feature DataFrame from the source.
The feature and source DataFrames should have different row IDs, and the new label column shouldn't resemble a column from the source. Otherwise, it isn't clear that the label column just indicates the presence of elements in the source. The current example might lead a user to think a column is copied into the feature DataFrame from the source.