{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Python Basic\n", "\n", "* Python\n", "* PY\n" ] }, { "cell_type": "code", "execution_count": 40, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "0 4\n", "1 3\n", "2 2\n", "3 1\n", "dtype: object" ] }, "execution_count": 40, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from pandas import Series \n", "\n", "Series(['4', '3', '2', '1'])" ] }, { "cell_type": "code", "execution_count": 43, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
| \n", " | a | \n", "b | \n", "
|---|---|---|
| X | \n", "1 | \n", "2 | \n", "
| Y | \n", "4 | \n", "5 | \n", "