Firm Addition
This commit is contained in:
@@ -2,55 +2,54 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 16,
|
||||
"execution_count": 4,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"['Dassault Systemes SE']\n",
|
||||
"['Schneider Electric SE']\n",
|
||||
"['China Electronics Huada Technology Co. Ltd.']\n",
|
||||
"['Kingsoft Cloud Holdings Ltd. ADR']\n",
|
||||
"['Baidu Inc.']\n",
|
||||
"['Kingdee International Software Group Co. Ltd.']\n",
|
||||
"['Tencent Holdings Ltd.']\n",
|
||||
"['Xiaomi Corp.']\n",
|
||||
"['AsiaInfo Technologies Ltd.']\n",
|
||||
"['Fanuc Corp.']\n",
|
||||
"['Omron Corp.']\n",
|
||||
"['Mitsubishi Electric Corp.']\n",
|
||||
"['Hexagon AB Series B']\n",
|
||||
"['Hollysys Automation Technologies Ltd.']\n",
|
||||
"['China Electronics Huada Technology Co. Ltd.']\n",
|
||||
"['Kingsoft Cloud Holdings Ltd. ADR']\n",
|
||||
"['JD.com Inc. ADR']\n",
|
||||
"['Autodesk Inc.']\n",
|
||||
"['ABB Ltd. ADR']\n",
|
||||
"['Altair Engineering Inc. Cl A']\n",
|
||||
"['Ansys Inc.']\n",
|
||||
"['Fanuc Corp.']\n",
|
||||
"['Honeywell International Inc.']\n",
|
||||
"['PTC Inc.']\n",
|
||||
"['Texas Instruments Inc.']\n",
|
||||
"['Cadence Design Systems Inc.']\n",
|
||||
"['Cisco Systems Inc.']\n",
|
||||
"['Microsoft Corp.']\n",
|
||||
"['Analog Devices Inc.']\n",
|
||||
"['Amazon.com Inc.']\n",
|
||||
"['Intel Corp.']\n",
|
||||
"['ABB Ltd. ADR']\n",
|
||||
"['International Business Machines Corp.']\n",
|
||||
"['Oracle Corp.']\n",
|
||||
"['PTC Inc.']\n",
|
||||
"['Salesforce Inc.']\n",
|
||||
"['SAP SE ADR']\n",
|
||||
"['Emerson Electric Co.']\n",
|
||||
"['Dassault Systemes SE']\n",
|
||||
"['Dell Technologies Inc. Cl C']\n",
|
||||
"['Texas Instruments Inc.']\n",
|
||||
"['Hewlett Packard Enterprise Co.']\n",
|
||||
"['Rockwell Automation Inc.']\n",
|
||||
"['Omron Corp.']\n",
|
||||
"['Cadence Design Systems Inc.']\n",
|
||||
"['Mitsubishi Electric Corp.']\n",
|
||||
"['Schneider Electric SE']\n",
|
||||
"['Cisco Systems Inc.']\n",
|
||||
"['General Electric Co.']\n",
|
||||
"['Synopsys Inc.']\n",
|
||||
"['STMicroelectronics N.V.']\n",
|
||||
"['Alibaba Group Holding Ltd. ADR']\n",
|
||||
"['Microsoft Corp.']\n",
|
||||
"['Siemens AG']\n",
|
||||
"['Infineon Technologies AG']\n"
|
||||
"['Synopsys Inc.']\n",
|
||||
"['Analog Devices Inc.']\n",
|
||||
"['Amazon.com Inc.']\n",
|
||||
"['STMicroelectronics N.V.']\n",
|
||||
"['Infineon Technologies AG']\n",
|
||||
"['Intel Corp.']\n",
|
||||
"['Alibaba Group Holding Ltd. ADR']\n",
|
||||
"['Baidu Inc.']\n",
|
||||
"['Kingdee International Software Group Co. Ltd.']\n",
|
||||
"['Tencent Holdings Ltd.']\n",
|
||||
"['AsiaInfo Technologies Ltd.']\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -67,6 +66,7 @@
|
||||
"select_firm[\"Exchange\"] = None\n",
|
||||
"select_firm[\"Crawled_Name\"] = None\n",
|
||||
"select_firm[\"Stock_Currency\"] = None\n",
|
||||
"# select_firm = select_firm.iloc[[0],:]\n",
|
||||
"\n",
|
||||
"for code, row in select_firm.iterrows():\n",
|
||||
" try:\n",
|
||||
@@ -136,7 +136,7 @@
|
||||
"select_firm['Exchange_Rate'] = select_firm['Stock_Currency'].map({'EUR': 7.2505, 'HKD': 0.88, 'JPY': 0.051, 'SEK': 0.65, 'USD': 6.88})\n",
|
||||
"select_firm['Assets_zh'] = select_firm['Assets'] * select_firm['Exchange_Rate'] * 0.00000001\n",
|
||||
"select_firm['Revenue_zh'] = select_firm['Revenue'] * select_firm['Exchange_Rate'] * 0.00000001\n",
|
||||
"select_firm.to_csv('MarketWatch.csv', index=False, encoding='utf-8-sig')"
|
||||
"select_firm.to_csv('MarketWatch.csv', encoding='utf-8-sig')"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user