Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Changing a script to hide columns where the Total = 0

Open
#2,873 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
data

Research direction

Start by opening HolidayReport3.ipynb and running it with AugustHolidayGermany.xlsx, then inspect the pivot-table generation and the output in Germany Holiday Report Aug-2025.xlsx. Confirm which columns have a total of zero and verify that the revised report keeps the required output filename while omitting those columns.

Written by the indexing model from the issue text.

Description

I have a piece of code which extracts information from an Excel file of Holidays that are approved. The filter is approved holidays from existing Employees.
The script creates a Pivot table of names, against dates and how many days approved per leave (sick leave, unpaid, birthday...etc) but some of the columns are displayed as 0. I would like an If statement to hide these columns.

I have supplied Test data - AugustHolidayGermany
The Output filename has to remain the same - Germany Holiday Report Aug-2025

AugustHolidayGermany.xlsx

Germany Holiday Report Aug-2025.xlsx

HolidayReport3.ipynb

Dominant language
Python
Stars
35.4k
Forks
12.9k
Avg merge
2h 37m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from geekcomputers/Python

All issues in geekcomputers/Python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.