Intermediate Python for Finance
Kennedy Behrman
Data Engineer, Author, Founder
datetime
dict()
< <= > >=
== !=
and or not
if a < b:
print(a)
while a < b:
a = a + 1
for a in c:
print(a)
DataFrame(data=data)
pd.read_csv('/data.csv')
stocks.loc['a', 'Values']
stocks.iloc[2:22, 12]
stocks.mean()
stocks.median()
pce['PCESV'] = pcesv
gdp.apply(np.sum, axis=1)
aapl.head()
aapl.tail()
aapl.describe()
mask = prices.High > 216
prices.loc[mask]
exxon.plot(x='Date',
y='High' )
Intermediate Python for Finance