Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 682 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 682 Bytes

share_market

Solution to below problem statement:

Consider Share prices for a N number of companies given for each month since year 1990 in a CSV file. Format of the file is as below with first line as header.

Year,Month,Company A, Company B,Company C, .............Company N 1990, Jan, 10, 15, 20, , ..........,50

1990, Feb, 10, 15, 20, , ..........,50

.

.

.

.

2013, Sep, 50, 10, 15............500

  • find the list for each Company year and month in which the share price was highest.

Usage

  • Download the sharemarket folder
  • cd share_makrket
  • python share.py
  • python test_share.py # for test cases