This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Basic Instructions: | |
# make sure that both main.py and ids.csv are in the same folder | |
# to install flask: | |
# pip install Flask | |
# to run on Windows: | |
# C:\path\to\app>set FLASK_APP=main.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
# --- | |
# | |
# _You are currently looking at **version 1.1** of this notebook. To download notebooks and datafiles, as well as get help on Jupyter notebooks in the Coursera platform, visit the [Jupyter Notebook FAQ](https://www.coursera.org/learn/python-data-analysis/resources/0dhYG) course resource._ | |
# | |
# --- | |
# # Assignment 2 - Pandas Introduction |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Link(object): | |
def __init__(self, parent_name, child_name): | |
self.parent_name = parent_name | |
self.child_name = child_name | |
def find_venture(list_of_links, account): | |
for comp in list_of_links: | |
# if child_name is the same as we are looking for, then proceed for checking its parent | |
if comp.child_name == account: |