This is what my code looks like
pd.set_option('expand_frame_repr', False)
inventory_data = pd.read_csv('inventory_list_1.csv')
search_item = input('Enter the name of the item your looking for')
find_item = inventory_data['Item_Name'].astype(str).str.contains(serch_item)
print (find_item)
inventory_data.to_csv('inventory_list_1.csv', index=False, quoting=1)
This is an example of the CSV file with the top row being the header
[ITEM NAME 1], [QUANTITY 1], [PRICE 1]
pencil 3 4
pen 5 5
I want to be able to type in pen for the input
search_item = input('Enter the name of the item your looking for')
and get the following row back
pen 5 5
I'm kinda at a loss as how to do this