поправка

This commit is contained in:
annalyovushkina@yandex.ru 2024-11-02 04:40:32 +04:00
parent 7f7102c559
commit eadc896314

View File

@ -101,7 +101,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": null,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -548,7 +548,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": null,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1150,12 +1150,12 @@
"es = es.add_dataframe(\n", "es = es.add_dataframe(\n",
" dataframe_name=\"other_about_billioner\",\n", " dataframe_name=\"other_about_billioner\",\n",
" dataframe=other_df,\n", " dataframe=other_df,\n",
" index=\"billioner_id\", # Индекс для уникальной идентификации автомобилей\n", " index=\"billioner_id\", # Индекс для уникальной идентификации миллиардеров\n",
" logical_types={\n", " logical_types={\n",
" \"Rank \": Integer, # Целевая переменная (цена)\n", " \"Rank \": Integer, # Целевая переменная (цена)\n",
" \"Networth\": Integer, # Пробег (числовой признак)\n", " \"Networth\": Integer, \n",
" \"Age\": Integer,\n", " \"Age\": Integer,\n",
" \"country_id\": Integer, # Пробег (числовой признак)\n", " \"country_id\": Integer, \n",
" },\n", " },\n",
")\n", ")\n",
"es = es.add_relationship(\"country_table\", \"country_id\", \"other_about_billioner\", \"country_id\")\n", "es = es.add_relationship(\"country_table\", \"country_id\", \"other_about_billioner\", \"country_id\")\n",