Skip to content

Instantly share code, notes, and snippets.

View IvanSok's full-sized avatar
🎯
Focusing

Ivan Sokolenko IvanSok

🎯
Focusing
  • Barcelona, Spain
View GitHub Profile
@IvanSok
IvanSok / mainClass.py
Created September 26, 2018 16:12
HelloFresh test exercise
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:
@IvanSok
IvanSok / Assignment 2
Created September 26, 2018 16:04
Coursera Applied Data Science
# 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
@IvanSok
IvanSok / storage_problem.txt
Last active November 18, 2018 15:53
Storage Problem
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