This file contains 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
#============================================================================== | |
# Fonction qui bascule des données Excel en data frame | |
# | |
# fichier - nom du fichier à lire | |
# onglet - onglet du fichier à lire | |
# entete - ligne à utiliser en tant que entête du tableau (0 est la 1ère ligne) | |
# colonnes - colonnes à lire (en notation Excel : A, B, C, ..., AA) | |
# | |
# df - data frame | |
#============================================================================== |
This file contains 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
import time | |
t = time.time() | |
################### | |
#### programme #### | |
################### | |
temps_ecoule = time.time() - t | |
print("Fin du programme. Temps écoulé : "+str(temps_ecoule)) |