Selecting known data or unknown data from dataframes in pandas python - Codanics