Diff
checker
Texte
Texte
Images
Documents
Excel
Dossiers
Legal
Enterprise
Application de bureau
Prix
Se connecter
Télécharger Diffchecker Desktop
Comparer le texte
Trouver la différence entre deux fichiers texte
Outils
Historique
Éditeur live
Cacher identiques
Sans retour à la ligne
Vue
Divisé
Unifié
Niveau de précision
Intelligent
Mot
Caractère
Coloration syntaxique
Choisir la syntaxe
Ignorer
Transformer le texte
Aller au premier écart
Modifier l'entrée
Diffchecker Desktop
La façon la plus sécurisée d'utiliser Diffchecker. Obtenez l'application Diffchecker Desktop : vos diffs ne quittent jamais votre ordinateur !
Obtenir Desktop
read_jira_issues.py
Créé
il y a 5 ans
Le diff n'expire jamais
Effacer
Exporter
Partager
Expliquer
9 suppressions
Lignes
Total
Supprimé
Caractères
Total
Supprimé
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
27 lignes
Copier tout
14 ajouts
Lignes
Total
Ajouté
Caractères
Total
Ajouté
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
31 lignes
Copier tout
import pandas as pd
import pandas as pd
import os
import os
Copier
Copié
Copier
Copié
path = os.getcwd()+'\Ph3_Charts'+'\\'
print(path)
from os import listdir
from os import listdir
from os.path import isfile, join
from os.path import isfile, join
Copier
Copié
Copier
Copié
days_range = [f for f in listdir(
path
) if isfile(join(
path
, f))]
# Get CWD
CWD = os.getcwd()
# Join CWD with `Ph3_Charts` folder
PH3_CHART_PATH = os.path.join(CWD, 'Ph3_Charts')
print(PH3_CHART_PATH)
days_range = [f for f in listdir(
PH3_CHART_PATH
) if isfile(join(
PH3_CHART_PATH
, f))]
dataframes = []
dataframes = []
count = 0
count = 0
for i in days_range:
for i in days_range:
try:
try:
print(i,count)
print(i,count)
Copier
Copié
Copier
Copié
dataframes.append(pd.read_excel(
path
+i, sheet_name = "Issues Jira", index_col=0))
dataframes.append(pd.read_excel(
PH3_CHART_PATH
+i, sheet_name = "Issues Jira", index_col=0))
count += 1
count += 1
Copier
Copié
Copier
Copié
except
:
except
Exception as e: # catch *all* exceptions
pass
print(e) # print it out
Différences enregistrées
Texte d'origine
Ouvrir un fichier
import pandas as pd import os path = os.getcwd()+'\Ph3_Charts'+'\\' print(path) from os import listdir from os.path import isfile, join days_range = [f for f in listdir(path) if isfile(join(path, f))] dataframes = [] count = 0 for i in days_range: try: print(i,count) dataframes.append(pd.read_excel(path+i, sheet_name = "Issues Jira", index_col=0)) count += 1 except: pass
Texte modifié
Ouvrir un fichier
import pandas as pd import os from os import listdir from os.path import isfile, join # Get CWD CWD = os.getcwd() # Join CWD with `Ph3_Charts` folder PH3_CHART_PATH = os.path.join(CWD, 'Ph3_Charts') print(PH3_CHART_PATH) days_range = [f for f in listdir(PH3_CHART_PATH) if isfile(join(PH3_CHART_PATH, f))] dataframes = [] count = 0 for i in days_range: try: print(i,count) dataframes.append(pd.read_excel(PH3_CHART_PATH+i, sheet_name = "Issues Jira", index_col=0)) count += 1 except Exception as e: # catch *all* exceptions print(e) # print it out
Trouver la différence