Module Import alias identifier Import alias Import alias ImportFrom alias Assign NameStore Str FunctionDef arguments args NameParam defaults Str body Assign NameStore BinOpAdd NameLoad Str Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Str Str Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore SubscriptLoad NameLoad Slice Num Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareGt Call NameLoad NameLoad Num body For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad Str attr TryExcept body Assign NameStore Call NameLoad SubscriptLoad Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Index Num attr Str Index Num TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index CompareEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpSub NameLoad Num attr Str Assign NameStore SubscriptLoad NameLoad Index CompareEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad SubscriptLoad Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num attr Str Index Num Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Pass Assign NameStore BinOpAdd Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str attr Str Str attr Str Str Str Print NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call NameLoad
N/A N/A pandas pd N/A os N/A time datetime datetime N/A path intraQuarter Key_Stats N/A N/A gather N/A Total Debt/Equity (mrq) N/A N/A statspath N/A path /_KeyStats N/A stock_list N/A N/A x N/A 0 N/A x N/A N/A os walk statspath N/A df N/A N/A pd DataFrame columns N/A Date Unix Ticker DE Ratio Price SP500 N/A sp500_df N/A N/A N/A pd DataFrame from_csv YAHOO-INDEX_GSPC.csv N/A each_dir N/A stock_list N/A 1 25 N/A N/A each_file N/A N/A os listdir each_dir N/A ticker N/A N/A N/A os path basename N/A N/A N/A os path normpath each_dir N/A N/A N/A len each_file 0 N/A N/A file each_file N/A N/A date_stamp N/A N/A datetime strptime file %Y%m%d%H%M%S.html N/A unix_time N/A N/A time mktime N/A N/A date_stamp timetuple N/A full_file_path N/A N/A each_dir / file N/A source N/A N/A N/A open full_file_path r read N/A N/A N/A value N/A float N/A N/A N/A N/A N/A N/A source split N/A gather :</td><td class="yfnc_tabledata1"> N/A 1 split </td> N/A 0 N/A N/A N/A sp500_date N/A N/A N/A N/A datetime fromtimestamp unix_time strftime %Y-%m-%d N/A row N/A sp500_df N/A N/A N/A sp500_df index sp500_date N/A sp500_value N/A float N/A row N/A Adj Close N/A N/A N/A N/A sp500_date N/A N/A N/A N/A datetime fromtimestamp N/A unix_time 259200 strftime %Y-%m-%d N/A row N/A sp500_df N/A N/A N/A sp500_df index sp500_date N/A sp500_value N/A float N/A row N/A Adj Close N/A stock_price N/A float N/A N/A N/A N/A N/A N/A source split </small><big><b> N/A 1 split </b></big> N/A 0 N/A df N/A N/A df append N/A Date Unix Ticker DE Ratio Price SP500 date_stamp unix_time ticker value stock_price sp500_value ignore_index True N/A N/A N/A Exception N/A e N/A N/A N/A save N/A N/A N/A N/A N/A N/A N/A N/A N/A gather replace replace ) replace ( replace / .csv N/A save N/A N/A N/A df to_csv save N/A N/A N/A Key_Stats