from google.colab import files uploaded = files.upload() import pandas as pd import numpy as np import io df2 = pd.read_csv(io.BytesIO(uploaded['UofR.csv'])) # Dataset is now stored in a Pandas Dataframe df2.head() df2 = df2.replace(np.NaN, 0) df2.head(10) name = input("Enter the first name of the prof that you want to search") name = name.capitalize() df2[df2['First Name'].str.contains(name)]