I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import packages | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
import yfinance as yf | |
# Read BTC/USD data | |
df = yf.download('BTC-USD', '2019-01-01', '2021-01-01') | |
[*********************100%***********************] 1 of 1 completed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tornado.web | |
import tornado.gen | |
import time | |
from functools import partial | |
import os | |
from concurrent.futures import ThreadPoolExecutor | |
def long_blocking_function(index, sleep_time): | |
print "Entering run counter:%s" % (index,) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Button | |
android:id="@+id/button1" | |
style="@style/GlossyGradientButtonStyle" | |
android:layout_width="wrap_content" | |
android:layout_height="@dimen/button_height" | |
android:minWidth="100dp" | |
android:text="OK" /> | |
<Button | |
android:id="@+id/button2" |