Diff
checker
Testo
Testo
Immagini
Documenti
Excel
Cartelle
Legal
Enterprise
Applicazione per desktop
Prezzi
Accedi
Scarica Diffchecker Desktop
Confronta il testo
Trova la differenza tra due file di testo
Strumenti
Cronologia
Editor live
Comprimi invariate
Senza a capo
Layout
Diviso
Unificato
Livello di dettaglio
Intelligente
Parola
Carattere
Evidenziazione sintassi
Scegli sintassi
Ignora
Trasforma testo
Vai alla prima modifica
Modifica input
Diffchecker Desktop
Il modo più sicuro per usare Diffchecker. Ottieni l'app Diffchecker Desktop: i tuoi diff non lasciano mai il tuo computer!
Ottieni Desktop
read_jira_issues.py
Creato
5 anni fa
Il diff non scade mai
Eliminare
Esporta
Condividere
Spiegare
9 rimozioni
Linee
Totale
Rimosso
Caratteri
Totale
Rimosso
Per continuare a utilizzare questa funzione, aggiorna a
Diff
checker
Pro
Visualizza prezzi
27 linee
Copia tutti
14 aggiunte
Linee
Totale
Aggiunto
Caratteri
Totale
Aggiunto
Per continuare a utilizzare questa funzione, aggiorna a
Diff
checker
Pro
Visualizza prezzi
31 linee
Copia tutti
import pandas as pd
import pandas as pd
import os
import os
Copia
Copiato
Copia
Copiato
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
Copia
Copiato
Copia
Copiato
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)
Copia
Copiato
Copia
Copiato
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
Copia
Copiato
Copia
Copiato
except
:
except
Exception as e: # catch *all* exceptions
pass
print(e) # print it out
Diff salvati
Testo originale
Apri file
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
Testo modificato
Apri file
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
Trovare la differenza