Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
read_jira_issues.py
Created
5 years ago
Diff never expires
Clear
Export
Share
Explain
9 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
27 lines
Copy
14 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
31 lines
Copy
import pandas as pd
import pandas as pd
import os
import os
Copy
Copied
Copy
Copied
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
Copy
Copied
Copy
Copied
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)
Copy
Copied
Copy
Copied
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
Copy
Copied
Copy
Copied
except
:
except
Exception as e: # catch *all* exceptions
pass
print(e) # print it out
Saved diffs
Original text
Open 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
Changed text
Open 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
Find difference