начало
This commit is contained in:
parent
986cbd005d
commit
ff750d6432
3
.gitignore
vendored
3
.gitignore
vendored
@ -12,3 +12,6 @@ ipython_config.py
|
||||
# Remove previous ipynb_checkpoints
|
||||
# git rm -r .ipynb_checkpoints/
|
||||
|
||||
# virtual
|
||||
aimenv/
|
||||
static/
|
||||
|
@ -1,3 +1,8 @@
|
||||
# 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
BIN
lab_1/image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
57
lab_1/lab1.ipynb
Normal file
57
lab_1/lab1.ipynb
Normal 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
BIN
lab_1/requirements.txt
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user