class Candidate:
	def__init__(self, name, data)

	# after self comes what we might need to know about candidate

	self.candidate = name
	self.data = data.loc[data["endorsee"] == name]

	def countEndorsements(self):
		return len(self.data)

	def getScores(self):
		return self.data["points"]
a5339c7237da78de2330610ac8b4cdaac4e73518
class Candidate:
    def__init__(self, name, data)
    <mask token>
    <mask token>
    <mask token>
    <mask token>

class Candidate:
    def__init__(self, name, data)
    <mask token>
    <mask token>
    <mask token>

    def getScores(self):
        return self.data['points']

class Candidate:
    def__init__(self, name, data)
    <mask token>
    <mask token>

    def countEndorsements(self):
        return len(self.data)

    def getScores(self):
        return self.data['points']

class Candidate:
    def__init__(self, name, data)
    self.candidate = name
    self.data = data.loc[data['endorsee'] == name]

    def countEndorsements(self):
        return len(self.data)

    def getScores(self):
        return self.data['points']

class Candidate:
	def__init__(self, name, data)

	# after self comes what we might need to know about candidate

	self.candidate = name
	self.data = data.loc[data["endorsee"] == name]

	def countEndorsements(self):
		return len(self.data)

	def getScores(self):
		return self.data["points"]