Skip to content

Instantly share code, notes, and snippets.

@talfco
Created February 27, 2019 22:22
Show Gist options
  • Save talfco/78624b663d7625b45d2bca10c31571f4 to your computer and use it in GitHub Desktop.
Save talfco/78624b663d7625b45d2bca10c31571f4 to your computer and use it in GitHub Desktop.
def create_politican_from_govapi_table(self):
self.load_government_members()
df = DataFrame.from_records(self._members)
df = df.apply(self.__calculate_name_matching, axis=1)
return df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment