Skip to content

Instantly share code, notes, and snippets.

View Mizzlr's full-sized avatar

Mushtaque Ahamed A Mizzlr

View GitHub Profile
# from selenium import webdriver
from seleniumwire import webdriver
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.chrome.options import Options
import time
import os
import calendar
import traceback
import json
@Mizzlr
Mizzlr / income_tax_new_regime_2024.py
Created September 5, 2024 10:06
Calculate income tax and provide a breakdown of its components.
import pandas as pd
import numpy as np
def calc_income_tax(income):
"""income tax calculation in lacs, under new regime
all numbers are in lacs (100_000), and percentages
see https://www.incometax.gov.in/iec/foportal/help/individual/return-applicable-1
"""
if income > 15: