diff --git a/README.md b/README.md index f7dff98..675eb9c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # AIM-PIbd-32-Smirnov-A-A +ПИбд-32, Смирнов Антон Андреевич, вариант 21 Cсылка на dataset: https://www.kaggle.com/datasets/imakash3011/customer-personality-analysis \ No newline at end of file diff --git a/lab1/lab1.ipynb b/lab1/lab1.ipynb new file mode 100644 index 0000000..32e3608 --- /dev/null +++ b/lab1/lab1.ipynb @@ -0,0 +1,86 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Начало лабораторной \n", + "\n", + "Выгрузка данных из csv файла в датафрейм" + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Index(['ID', 'Year_Birth', 'Education', 'Marital_Status', 'Income', 'Kidhome',\n", + " 'Teenhome', 'Dt_Customer', 'Recency', 'MntWines', 'MntFruits',\n", + " 'MntMeatProducts', 'MntFishProducts', 'MntSweetProducts',\n", + " 'MntGoldProds', 'NumDealsPurchases', 'NumWebPurchases',\n", + " 'NumCatalogPurchases', 'NumStorePurchases', 'NumWebVisitsMonth',\n", + " 'AcceptedCmp3', 'AcceptedCmp4', 'AcceptedCmp5', 'AcceptedCmp1',\n", + " 'AcceptedCmp2', 'Complain', 'Z_CostContact', 'Z_Revenue', 'Response'],\n", + " dtype='object')\n" + ] + } + ], + "source": [ + "import pandas as pd\n", + "import numpy as np\n", + "\n", + "df = pd.read_csv(\"..//..//static//csv//marketing_campaign.csv\", sep=\"\\t\")\n", + "\n", + "print (df.columns)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Эта гистограмма в диапазоне с " + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "df " + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Out " + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "aimenv", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.12.7" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/lab1/requirements.txt b/lab1/requirements.txt new file mode 100644 index 0000000..382accd Binary files /dev/null and b/lab1/requirements.txt differ diff --git a/lab1/Сваггер.png b/lab1/Сваггер.png new file mode 100644 index 0000000..2f7103a Binary files /dev/null and b/lab1/Сваггер.png differ