Solution in Python language for reading from a CSV file the details of companies and then listing the output for individual companies based on some logic