I'm new to Python and I'm trying to work on a small project and got a little confused.
I have 2 csv files that looks like this:
all_cars:
first_Car,second_car
Mazda, Skoda
Ferrari, Volkswagen
Volkswagen, Toyota
BMW, Ferrari
BMW, Mercedes
super_cars:
super_car_name
Ferrari
BMW
Mercedes
What I'm basicly trying to do is just to count how many times a car from file 2 represented in file 1. If the car represented only in file 1 and not in file 2, I don't want it.
What I'm trying to do based on my example files is :
Ferrari : 2
BMY : 2
Mercedes : 1