Skip to content

Instantly share code, notes, and snippets.

View lbfin's full-sized avatar

Laurent Bouvier lbfin

  • France
  • 23:28 (UTC -12:00)
View GitHub Profile
def produit_scalaire(X, Y):
"""retourne le produit scalaire de deux listes de même taille"""
"<votre_code>"
z=zip(X,Y)
L=[]
for a,b in z:
L.append(a*b)
return sum(L)
# sorting of several lists
def multi_tri(listes):
"<votre_code>"
for x in listes:
x.sort()
return listes
# sorting of several lists in different directions

Intermediate Python for Finance Training

This is the Gist for the Intermediate Python for Finance Training in London, 28.-29. November 2017.

Notebooks & Code Files

Additional files (eg Jupyter Notebooks) are found under:

Intermediate Python for Finance Training

This is the Gist for Day 2 of the Intermediate Python for Finance Training in London, 29. November 2017

Agenda

Module 3 — pandas