Skip to content

Instantly share code, notes, and snippets.

View parulagg27's full-sized avatar
🎯
Focusing

Parul parulagg27

🎯
Focusing
  • Thoughtworks
  • 127.0.0.1
View GitHub Profile
@parulagg27
parulagg27 / holidays.py
Last active April 6, 2020 22:29
Holidays Parser
from selenium import webdriver
from selenium.webdriver.support.ui import Select
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.firefox.options import Options
from bs4 import BeautifulSoup
import numpy as np
import pandas as pd
import sys
//returns length of the given array
function length(arr){
if (arr[0]==undefined)
return 0;
return lengthFinder(arr,0);
}
function lengthFinder(arr, counter){
if (arr[counter+1])
return lengthFinder(arr, counter+1);