I am trying to write a Python code which opens a csv file with a list of books, its authors, genre etc, and allows the user to input an ISBN number and based on that it displays the results that match the search.
The csv file has 500 rows and 7 columns separated by comma.
That's my code. Now, the code only shows as output: [1 rows x 7 columns]. But it should display each infomation of the row that matched the ISBN.
# Filter ISBN
df = pd.read_csv('csv_file')
print(df.loc[df['ISBN'].str.contains("3775738193")])