Esempio n. 1
0
 def test_merge_by_year(self):
     self.assertEqual(merge_by_year(2012).shape, (177, 3))
     self.assertEqual(merge_by_year(1994).shape, (177, 3))
Esempio n. 2
0
 def __init__(self, year):
     '''
     Constructor
     '''
     self.year = year
     self.data = merge_by_year(year)
Esempio n. 3
0
 def test_merge_by_year(self):
     self.assertEqual(merge_by_year(2012).shape, (177, 3))
     self.assertEqual(merge_by_year(1994).shape, (177, 3))
Esempio n. 4
0
 def __init__(self, year):
     """
     Constructor
     """
     self.year = year
     self.data = merge_by_year(year)