This commit is contained in:
Казначеева Елизавета 2024-09-19 16:11:49 +04:00
parent f7d7e86718
commit 2f0db71293
4 changed files with 64 additions and 0 deletions

2
.gitignore vendored
View File

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

View File

@ -1,2 +1,8 @@
# AIM-PIbd-32-Kaznacheeva-E-K
## МИИ
ФИО: Казначеева Елизавета\
Группа: ПИбд-32\
Вариант: 8 (Заработная плата рабочих мест в области Data Science)\
Сслыка на dataset:https://www.kaggle.com/datasets/henryshan/2023-data-scientists-salary

56
lab_1/Lab1.ipynb Normal file
View File

@ -0,0 +1,56 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Начало лабораторной\n",
"\n",
"Выгрузка данных из csv файла в датафрейм"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Index(['work_year', 'experience_level', 'employment_type', 'job_title',\n",
" 'salary', 'salary_currency', 'salary_in_usd', 'employee_residence',\n",
" 'remote_ratio', 'company_location', 'company_size'],\n",
" dtype='object')\n"
]
}
],
"source": [
"import pandas as pd\n",
"df = pd.read_csv(\"..//static//csv//ds_salaries.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.