Skip to content

Instantly share code, notes, and snippets.

@duongoku
Created July 24, 2023 06:09
Show Gist options
  • Save duongoku/01fc1ed3b51503ee768de65b5b86b452 to your computer and use it in GitHub Desktop.
Save duongoku/01fc1ed3b51503ee768de65b5b86b452 to your computer and use it in GitHub Desktop.
jira_report
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