Build Your Own AI Investor: With Machine Learning and Python, Step by Step, Second Edition by Lee Damon

Build Your Own AI Investor: With Machine Learning and Python, Step by Step, Second Edition by Lee Damon

Author:Lee, Damon [Lee, Damon]
Language: eng
Format: epub, pdf
Publisher: www.valueinvestingai.com
Published: 2021-03-08T16:00:00+00:00


# Merge the data together

result = pd.merge(incomeStatementData, balanceSheetData,
on=['Ticker','SimFinId','Currency',

'Fiscal Year','Report Date','Publish Date'])

result = pd.merge(result, CashflowData,
on=['Ticker','SimFinId','Currency',

'Fiscal Year','Report Date','Publish Date'])

# dates in correct format

result["Report Date"] = pd.to_datetime(result["Report Date"])

result["Publish Date"] = pd.to_datetime(result["Publish Date"])

print('Merged X data matrix shape is: ', result.shape)

return result

X = getXDataMerged()



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.