начало

This commit is contained in:
a.puchkina 2024-09-13 20:12:26 +04:00
parent 986cbd005d
commit ff750d6432
5 changed files with 66 additions and 1 deletions

3
.gitignore vendored
View File

@ -12,3 +12,6 @@ ipython_config.py
# Remove previous ipynb_checkpoints # Remove previous ipynb_checkpoints
# git rm -r .ipynb_checkpoints/ # git rm -r .ipynb_checkpoints/
# virtual
aimenv/
static/

View File

@ -1,3 +1,8 @@
# AIM-PIbd-32-Puchkina-A-A # AIM-PIbd-32-Puchkina-A-A
МИИ ----- МИИ -------
ФИО: Пучкина Анна
Группа: ПИбд-32
Вариант: 18 (Цена на мобильные устройства)
Сслыка на dataset: https://www.kaggle.com/datasets/dewangmoghe/mobile-phone-price-prediction

BIN
lab_1/image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

57
lab_1/lab1.ipynb Normal file
View File

@ -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
}

BIN
lab_1/requirements.txt Normal file

Binary file not shown.