etc/career_extractor.py
def _combine_seasons(self, row: Series)->List:
        """ given row, return combined list of seasons played """
        if type(row['Seasons_old'])==float and np.isnan(row['Seasons_old']):
            return sorted(row['Seasons'])
        else:
            return sorted(row['Seasons']+row['Seasons_old'])
 given row, return combined list of seasons played 
given row, return combined list of seasons played
given row return combined list of seasons played
def _combine_seasons(self, row: Series)->List:
        if type(row['Seasons_old'])==float and np.isnan(row['Seasons_old']):
            return sorted(row['Seasons'])
        else:
            return sorted(row['Seasons']+row['Seasons_old'])
def _combine_seasons ( self , row : Series ) -> List : if type ( row [ 'Seasons_old' ] ) == float and np . isnan ( row [ 'Seasons_old' ] ) : return sorted ( row [ 'Seasons' ] ) else : return sorted ( row [ 'Seasons' ] + row [ 'Seasons_old' ] )
given row, return combined list of seasons played
given row return combined list of seasons played
""" given row, return combined list of seasons played """
self
row
Series