{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Начало лабораторной работы №1\n", "\n", "*Набор данных для анализа и прогнозирования сердечного приступа*\n", "\n", "Выгрузка данных из CSV файла в датафрейм" ] }, { "cell_type": "code", "execution_count": 22, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | HeartDisease | \n", "BMI | \n", "Smoking | \n", "AlcoholDrinking | \n", "Stroke | \n", "PhysicalHealth | \n", "MentalHealth | \n", "DiffWalking | \n", "Sex | \n", "AgeCategory | \n", "Race | \n", "Diabetic | \n", "PhysicalActivity | \n", "GenHealth | \n", "SleepTime | \n", "Asthma | \n", "KidneyDisease | \n", "SkinCancer | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "No | \n", "16.60 | \n", "Yes | \n", "No | \n", "No | \n", "3.0 | \n", "30.0 | \n", "No | \n", "Female | \n", "55-59 | \n", "White | \n", "Yes | \n", "Yes | \n", "Very good | \n", "5.0 | \n", "Yes | \n", "No | \n", "Yes | \n", "
1 | \n", "No | \n", "20.34 | \n", "No | \n", "No | \n", "Yes | \n", "0.0 | \n", "0.0 | \n", "No | \n", "Female | \n", "80 or older | \n", "White | \n", "No | \n", "Yes | \n", "Very good | \n", "7.0 | \n", "No | \n", "No | \n", "No | \n", "
2 | \n", "No | \n", "26.58 | \n", "Yes | \n", "No | \n", "No | \n", "20.0 | \n", "30.0 | \n", "No | \n", "Male | \n", "65-69 | \n", "White | \n", "Yes | \n", "Yes | \n", "Fair | \n", "8.0 | \n", "Yes | \n", "No | \n", "No | \n", "
3 | \n", "No | \n", "24.21 | \n", "No | \n", "No | \n", "No | \n", "0.0 | \n", "0.0 | \n", "No | \n", "Female | \n", "75-79 | \n", "White | \n", "No | \n", "No | \n", "Good | \n", "6.0 | \n", "No | \n", "No | \n", "Yes | \n", "
4 | \n", "No | \n", "23.71 | \n", "No | \n", "No | \n", "No | \n", "28.0 | \n", "0.0 | \n", "Yes | \n", "Female | \n", "40-44 | \n", "White | \n", "No | \n", "Yes | \n", "Very good | \n", "8.0 | \n", "No | \n", "No | \n", "No | \n", "