diff --git a/.gitignore b/.gitignore index 207d123..27f0999 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,6 @@ ipython_config.py # Remove previous ipynb_checkpoints # git rm -r .ipynb_checkpoints/ +# virtual +aimenv/ +static/ diff --git a/README.md b/README.md index 724296a..e6da7d6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ # AIM-PIbd-32-Puchkina-A-A -МИИ \ No newline at end of file +----- МИИ ------- + +ФИО: Пучкина Анна +Группа: ПИбд-32 +Вариант: 18 (Цена на мобильные устройства) +Сслыка на dataset: https://www.kaggle.com/datasets/dewangmoghe/mobile-phone-price-prediction \ No newline at end of file diff --git a/lab_1/image.png b/lab_1/image.png new file mode 100644 index 0000000..fc022a3 Binary files /dev/null and b/lab_1/image.png differ diff --git a/lab_1/lab1.ipynb b/lab_1/lab1.ipynb new file mode 100644 index 0000000..c6ab2f7 --- /dev/null +++ b/lab_1/lab1.ipynb @@ -0,0 +1,57 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Начало лабораторной \n", + "\n", + "Выгрузка данных из csv файла в датафрейм" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Index(['Unnamed: 0', 'Name', 'Rating', 'Spec_score', 'No_of_sim', 'Ram',\n", + " 'Battery', 'Display', 'Camera', 'External_Memory', 'Android_version',\n", + " 'Price', 'company', 'Inbuilt_memory', 'fast_charging',\n", + " 'Screen_resolution', 'Processor', 'Processor_name'],\n", + " dtype='object')\n" + ] + } + ], + "source": [ + "import pandas as pd \n", + "df = pd.read_csv(\"..//static//csv//mobile phone price prediction.csv\")\n", + "print(df.columns)" + ] + } + ], + "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.5" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/lab_1/requirements.txt b/lab_1/requirements.txt new file mode 100644 index 0000000..cd07185 Binary files /dev/null and b/lab_1/requirements.txt differ