{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Jupyter Notebook" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "import matplotlib.pyplot as plt" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### 데이터는 임의로 생성" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "header = ['col1', 'col2', 'col3', 'col4']\n", "data = [[1,2,3,4],[5,6,7,8],[9,10,11,12]]" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "df = pd.DataFrame(data, columns=header)" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | col1 | \n", "col2 | \n", "col3 | \n", "col4 | \n", "
---|---|---|---|---|
0 | \n", "1 | \n", "2 | \n", "3 | \n", "4 | \n", "
1 | \n", "5 | \n", "6 | \n", "7 | \n", "8 | \n", "
2 | \n", "9 | \n", "10 | \n", "11 | \n", "12 | \n", "