Skip to content

Instantly share code, notes, and snippets.

View Darshan0902's full-sized avatar
🍊
Have this Orange , I may be late to respond

Darshan D. Prabhu Darshan0902

🍊
Have this Orange , I may be late to respond
View GitHub Profile
@Darshan0902
Darshan0902 / Darshan_imrpoved_casscader_model.xml
Created March 4, 2024 15:52
Improvised version of Russian Casscader model.
<?xml version="1.0"?>
<opencv_storage>
<cascade>
<stageType>BOOST</stageType>
<featureType>HAAR</featureType>
<height>20</height>
<width>60</width>
<stageParams>
<boostType>GAB</boostType>
<minHitRate>9.9500000476837158e-001</minHitRate>
import requests
import matplotlib.pyplot as plt
import seaborn as sns
api_key ="dedwiejkdpdweod" #Get yours at https://site.financialmodelingprep.com/developer/docs/
company = "GOOG" # make sure you use the ticker symbol.
years = 5 #define the years
balance_sheet = requests.get(f'https://financialmodelingprep.com/api/v3/balance-sheet-statement/{company}?periods=quarterly&limit={years}&apikey={api_key}')
from tkinter import*
me=Tk()
me.geometry("354x460")
me.title("CALCULATOR")
melabel = Label(me,text="CALCULATOR",bg='White',font=("Times",30,'bold'))
melabel.pack(side=TOP)
me.config(background='Dark gray')
textin=StringVar()
@Darshan0902
Darshan0902 / airbnb-analysis-for-texas.ipynb
Last active January 28, 2024 19:42
AirBNB Analysis for TEXAS .ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import bs4 as bs
import requests
html = requests.get("https://en.wikipedia.org/wiki/List_of_S%26P_500_companies")
soup = bs.BeautifulSoup(html.text,'html.parser')
tickers = []
# Using the "find" generally returns all the table so as result I ensured that we include the only needed "table" instead of
# the whole page .
@Darshan0902
Darshan0902 / replacing_seaborn_distplot.ipynb
Created May 12, 2023 18:39 — forked from mwaskom/replacing_seaborn_distplot.ipynb
A guide to replacing the deprecated `seaborn.distplot` function.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.