Created
July 24, 2023 06:09
-
-
Save duongoku/01fc1ed3b51503ee768de65b5b86b452 to your computer and use it in GitHub Desktop.
jira_report
This file contains hidden or 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 pandas as pd | |
df = pd.read_excel( | |
"input.xlsx", | |
engine="openpyxl", | |
sheet_name="Sheet1", | |
skiprows=3, | |
) | |
list = [ | |
"Project", | |
"Key", | |
"Summary", | |
"Issue Type", | |
"Status", | |
"Priority", | |
"Resolution", | |
"Assignee", | |
"Reporter", | |
"Creator", | |
"Created", | |
"Due Date", | |
] | |
list = [x.strip() for x in list] | |
df = df[list] | |
df = df.dropna(how="all") | |
df.to_excel("output.xlsx", index=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment