Skip to content

Instantly share code, notes, and snippets.

View anthonykrivonos's full-sized avatar
в карантине

Anthony Krivonos anthonykrivonos

в карантине
View GitHub Profile
# Reference:
import pymysql
db = pymysql.connect(host="", user="admin", passwd="adm1nadm2n", database="question_9")
cursor = db.cursor()
for i, row in people.iterrows():
person = **row
uni, firstName, lastName, email, role = person['uni'], person['first_name'], person['last_name'], person['email'], person['role']
cursor.execute('INSERT INTO people (uni, firstName, lastName, email) VALUES(%s, %s, %s, %s)', uni, firstName, lastName, email)
group: DB Final Q2 Test Data
description: DB Final Q2 Test Data
branch = {
branch_name, branch_city, assets
'Uptown', 'new york', 100
'Beach', 'miami', 200
'Dumpster', 'los angeles', 10
anthonykrivonos / euler-scheme.js
Last active September 25, 2018 18:46
Euler Approximation Scheme
* Euler Approximation Scheme Script
* Anthony Krivonos
* Prof. Kei Kobayashi
* 9/25/2018
* Sample Function
* - Takes in (t, y) and returns a number.