172 lines
179 KiB
Plaintext
172 lines
179 KiB
Plaintext
|
{
|
|||
|
"cells": [
|
|||
|
{
|
|||
|
"cell_type": "markdown",
|
|||
|
"metadata": {},
|
|||
|
"source": [
|
|||
|
"**Hello** \n",
|
|||
|
"#Блок комментов \n",
|
|||
|
"Толстый - ** **\n",
|
|||
|
"Курсив - * *\n",
|
|||
|
"Зачеркнутый - ~~ ~~ \n",
|
|||
|
"Выводок колонок: print(df.columns)\n",
|
|||
|
"\n",
|
|||
|
"df.info() - информация о всех колонках в таблице (сколько записей в каждой колонке, какой тип данных в записи)\n",
|
|||
|
"\n",
|
|||
|
".transpose() - транспонировать матрицу\n",
|
|||
|
"df.drop() - возвращает таблицу с убраннами столбцами () axis = ось (0 или index - значит строки/1 или coloumns - столбцы) "
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 17,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"name": "stdout",
|
|||
|
"output_type": "stream",
|
|||
|
"text": [
|
|||
|
"Index(['Store ID ', 'Store_Area', 'Items_Available', 'Daily_Customer_Count',\n",
|
|||
|
" 'Store_Sales'],\n",
|
|||
|
" dtype='object')\n"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"data": {
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAnwAAAJ8CAYAAABk7XxWAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjkuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8hTgPZAAAACXBIWXMAAA9hAAAPYQGoP6dpAAB0c0lEQVR4nO3dd3hUVcIG8PdOn/TeE0JCLwEUpKiAFAGxd8W1Yl912bWhYtdPxbWX1RVFRWzYUUBRUUCkKCX0kN57nUyf+/0RN4iE1Jk5M3fe3z55JDOTO++wZPLm3HPPkWRZlkFEREREiqUSHYCIiIiIPIuFj4iIiEjhWPiIiIiIFI6F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tTUVPzyyy+YOHGi23MTEfk7zuEjIq9pbW2FSnXk245arYbL5Trm15SUlKC2thaJiYnHfMz/vt5qtbonKBGRwnAOHxF5zRlnnIHHHnsMaWlpGD58OLZv345nnnkGV199NQCgpaUFDz30EM477zwkJCQgNzcXd955JwYMGIBZs2YBADZv3oytW7fipJNOQmRkJHJzc7Fo0SJkZmZydI+I6Bh4SpeIvKa5uRmLFi3CZ599hqqqKiQlJeGSSy7B/fffD51OB7PZjLPPPhvbt29HQ0MDkpKScOqpp+KRRx5BfHw8ACA7Oxu33XYbdu7cCZPJhMTERMyePRv33XcfkpOTBb9CIiLfxMJHREREpHCcw0dERESkcCx8RERERArHwkdERESkcCx8RERERArHwkdERESkcCx8RERERArHwkdERESkcCx8RERERArHwkdERESkcCx8RERERArHwkdERESkcCx8RERERArHwkdERESkcCx8RERERArHwkdERESkcCx8RERERArHwkdERESkcCx8RERERArHwkdERESkcBrRAYiIes1hBWwmwN7a9t///dlhAZz2tg+X/eg/uxyASgtojX98BP3pz3/+PAjQGNr+LEmiXy0RUa+x8BGRbzHVAs1lQHMF0FQGNJcf/m9zedv9NhNgN7UVN6+QDhc/bRCg/ePPhgggNBEISwLCU9r+G5YEhCUDwbEsiUTkMyRZlmXRIYgoADisQFMp0FR+uLw1lbeVu/bbKgCnVXRS91Dr/iiDyUcWwfDkP5XCOEDFmTVE5HksfETkXrIM1BcAVXuByj1tH1V7gdpcQHaKTudbVFogLBGIHQokjADi//iIHsAiSERuxcJHRL3XWne40P2v3FXvB2wtopP5N40RiBsKxA8HEkb+UQSHA8YI0cmIyE+x8BFR1xy2tiL311G75nLRyQJLeGpb+fvzaGBUBkcDiahLLHxEdDS7BSjeDBRsAArWA6W/AU6b6FTUEW1w22hg2gSg/2Sg3yRAHyo6FRH5GBY+ImoreCVb2gpe/v8KnkIungg0Kg2QNKat/KWf3FYEtUbRqYhIMBY+okDksALFWw6P4JVsY8FTKrUeSBnXVgD7n9z2Z7VWdCoi8jIWPqJA4LACJVv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EJG7SSpg1KXAjAeAkDjRaYiEYeGjwJW9AvjuAaCpRHQSIvKw79JvR9GAy3DlpHSoVZLoOERex8JHgaciG1h1F1C4UXQSIvICS9RQjKy4D3aXhKGJYXj07OE4vl+U6FhEXsXCR4GjtQ744VHgt6VcOJkogNwf9TTeKUtq/1ySgAuOT8Hdc4YiKlgnMBmR97DwkfK5XMC2JcCPjwHmetFpiMiLilPm4uRD8zq8LyJIiztnDcElJ6RCknial5SNhY+UrSYH+PxGoGSr6CRE5GWyLgSnuZ7DvpbO1+Q7Li0CT18wChmxIV5KRuR9KtEBiDzC5QI2vgD85ySWPaIA9WP8lV2WPQD4vagBc1/YgKUb88ExEFIqjvCR8tTkAJ/fBJRsEZ2EiASxRWRiVPWDMDvVPfq6EwdEY/H5o5AUYfRQMiIxOMJHyuFyAb+8+MeoHsseUSB7Vju/x2UPADY
|
|||
|
"text/plain": [
|
|||
|
"<Figure size 800x800 with 1 Axes>"
|
|||
|
]
|
|||
|
},
|
|||
|
"metadata": {},
|
|||
|
"output_type": "display_data"
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"## Начало начал\n",
|
|||
|
"import pandas as pd\n",
|
|||
|
"import matplotlib.pyplot as plt\n",
|
|||
|
"from datetime import date\n",
|
|||
|
"\n",
|
|||
|
"df = pd.read_csv(\".//static//csv//Stores.csv\")\n",
|
|||
|
"print(df.columns)\n",
|
|||
|
"\n",
|
|||
|
"srez = df.sort_values(\"Store_Sales\").head(5)\n",
|
|||
|
"\n",
|
|||
|
"# Диаграмма цен:\n",
|
|||
|
"plt.figure(figsize=(8, 8))\n",
|
|||
|
"plt.pie(\n",
|
|||
|
" srez[\"Store_Sales\"],\n",
|
|||
|
" labels=srez[\"Store ID \"], # type: ignore\n",
|
|||
|
" autopct=\"%1.1f%%\",\n",
|
|||
|
"\n",
|
|||
|
")\n",
|
|||
|
"plt.show()\n",
|
|||
|
"#Диаграмма-сравнение топ 5 магазинов по распродажам в процентной доли рынка от топ 5"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 58,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"data": {
|
|||
|
"text/plain": [
|
|||
|
"<Axes: xlabel='Store_Sales', ylabel='Store_Area'>"
|
|||
|
]
|
|||
|
},
|
|||
|
"execution_count": 58,
|
|||
|
"metadata": {},
|
|||
|
"output_type": "execute_result"
|
|||
|
},
|
|||
|
{
|
|||
|
"data": {
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAlgAAAGxCAYAAAC+xcgLAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjkuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8hTgPZAAAACXBIWXMAAA9hAAAPYQGoP6dpAACyKElEQVR4nO2deXgUVfb3v52kE5JAOjsxLFlkkV2WAAFEogyIKCDojIiCiPiKLOOCIuMGOoiDoKMMyjgiiwKOzA8Q0VEYDCAESCAECSAEQwCBkJCtSQJk6Xr/iNVUd9dyq7p6S87neXg0XdVVt27drvutc849x8BxHAeCIAiCIAhCN/w83QCCIAiCIIjGBgksgiAIgiAInSGBRRAEQRAEoTMksAiCIAiCIHSGBBZBEARBEITOkMAiCIIgCILQGRJYBEEQBEEQOkMCiyAIgiAIQmcCPN0AX8FiseDixYto0aIFDAaDp5tDEARBEAQDHMfh6tWriI+Ph5+f++xKJLAYuXjxItq0aePpZhAEQRAEoYHz58+jdevWbjsfCSxGWrRoAaDhBoWFhXm4NQRBEARBsGA2m9GmTRvrPO4uSGAxwrsFw8LCSGARBEEQhI/h7vAeCnInCIIgCILQGRJYBEEQBEEQOkMCiyAIgiAIQmdIYBEEQRAEQegMCSyCIAiCIAidIYFFEARBEAShMySwCIIgCIIgdIYEFkEQBEEQhM6QwCIIgiAIgtAZElgEQRAEQRA6Q6VyCIIgCI+SX1yJs6XVSIwKRVJ0qKebQxC6QAKLIAiC8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X9C
|
|||
|
"text/plain": [
|
|||
|
"<Figure size 640x480 with 1 Axes>"
|
|||
|
]
|
|||
|
},
|
|||
|
"metadata": {},
|
|||
|
"output_type": "display_data"
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"\n",
|
|||
|
"df.plot.scatter(x=\"Store_Sales\", y=\"Daily_Customer_Count\")\n",
|
|||
|
"#Распределение распродаж в зависимости от кол-ва посетителей"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 57,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"data": {
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAj8AAAGxCAYAAACN/tcCAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjkuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8hTgPZAAAACXBIWXMAAA9hAAAPYQGoP6dpAACESklEQVR4nO3dd3iUVdoG8Ht66mQS0giEXgJIB0MQQSVSVVwRRFGKLIiCa9m17afIqiu7rKuIosiq2MC2K4ioKAKKQuiEGnogSBqQ3jMz5/tj8r4zExIySWYy7f5dV67dZN7MnLyG5Mk5T1EIIQSIiIiI/ITS3QsgIiIiakkMfoiIiMivMPghIiIiv8Lgh4iIiPwKgx8iIiLyKwx+iIiIyK8w+CEiIiK/wuCHiIiI/Ira3QtwFbPZjMzMTISGhkKhULh7OUREROQAIQSKi4sRFxcHpdI1ezQ+G/xkZmYiPj7e3csgIiKiJjh//jzatm3rkuf22eAnNDQUgOXm6fV6N6+GiIiIHFFUVIT4+Hj597gr+GzwIx116fV6Bj9ERERexpUpK0x4JiIiIr/C4IeIiIj8CoMfIiIi8is+m/PjKJPJhOrqancvg8graDQaqFQqdy+DiKhZ/Db4EUIgOzsbBQUF7l4KkVcxGAyIjY1l/ywi8lp+G/xIgU90dDSCgoL4g5yoAUIIlJWVITc3FwDQunVrN6+IiKhp/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ys9jMBjw1Vdf4aabbkK
|
|||
|
"text/plain": [
|
|||
|
"<Figure size 640x480 with 1 Axes>"
|
|||
|
]
|
|||
|
},
|
|||
|
"metadata": {},
|
|||
|
"output_type": "display_data"
|
|||
|
},
|
|||
|
{
|
|||
|
"data": {
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAjAAAAG1CAYAAADnZM6ZAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjkuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8hTgPZAAAACXBIWXMAAA9hAAAPYQGoP6dpAABdgklEQVR4nO3deVhU1f8H8PewgzAgICACiqK4oCyuaG5JLJrmUqapaW5poLkTGaZmYlqWtmj1dWnRLMt9K0IBF9xFRJTUUDQWVxhAWef8/vDn1AgKgxeYgffreebJufecz5xj4ry9y7kyIYQAERERkQ7Rq+kBEBEREWmKAYaIiIh0DgMMERER6RwGGCIiItI5DDBERESkcxhgiIiISOcwwBAREZHOYYAhIiIincMAQ0RERDqHAYaIiIh0jkYBJiIiAh07doSFhQXs7OwwcOBAJCcnq/ZfvXoVMpmszNfmzZtV7crav2nTJrXPio6Oho+PD4yNjeHm5ob169c/20yJiIio1tAowMTExCA4OBhHjx5FZGQkioqK4O/vj7y8PACAs7Mz0tPT1V4LFiyAubk5goKC1GqtW7dOrd3AgQNV+1JSUtCvXz/07t0b8fHxmDZtGsaPH4/ff//92WdMREREOk/2LA9zvHXrFuzs7BATE4MePXqU2cbb2xs+Pj5Ys2bNvx8qk2Hr1q1qoeW/QkNDsXv3biQmJqq2DRs2DFlZWdi3b1+FxqZUKpGWlgYLCwvIZLKKT4qIiIhqjBACOTk5cHR0hJ7eU46ziGdw6dIlAUCcO3euzP0nT54UAMThw4fVtgMQjo6OwsbGRnTs2FGsWbNGKJVK1f7u3buLt99+W63P2rVrhVwuf+JY8vPzRXZ2tuqVlJQkAPDFF1988cUXXzr4un79+lMziAEqSalUYtq0aejWrRs8PDzKbL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4cHrl69CldXVyxZsgShoaEAgOLiYri6umLKlCmYM2cOoqOj0bt3b9y7dw9WVlYYP3489PX18fXXX6vqHjp0CD179kReXh5MTExKfe7jf/aIiHRBUYkSy35PxjexfwMAWjWUY9UIHzSxrSf5Z1X0UQI8AlPLnD17FgcOHIC5ubnq1bJlSwBQO2XSrl071a/19fVhY2ODtm3bqrbZ29sDgGrp+8mTJ2PTpk3w8vLCnDlzcOTIkQqPae3atQgICFAdsenbty+ys7Oxf/9+1XtDQ0Ps2LEDAPDbb79BLpfDz89PVePnn39Gt27d4ODgAHNzc7z33ntITU2t8BguXbqE4cOHo2nTppDL5WjSpAkAlKrh6+ur+rWBgQE6dOiACxculFnz7NmzWL9+vdrvdUBAAJRKJVJSUio8NiIibXbj3n10+vBPVXh5tYMztr7VtUrCiybq5KMEHmdqqI+khQE19tlSys3NRf/+/fHRRx+V2vff5+8YGhqq7ZPJZGrbHi249ugUS1BQEK5du4Y9e/YgMjISffr0QXBwMD7++OOnjqekpATfffcdMjIyYGBgoLZ97dq16NOnD4yMjPDyyy9j48aNGDZsGDZu3IhXX31V1T4uLg4jRozAggULEBAQAEtLS2zatAmffPJJhX9f+vfvj8aNG+Pbb7+Fo6MjlEolPDw8UFhYWOEaj8vNzcWbb76JqVOnltrn4uJS6bpERNrip+OpCNtyTvV+6cvtMLSDcw2O6F8MMHj4Za3JaRxtYWRkhJIS9avAfXx88Ntvv6FJkyZqgUEKDRo0wOjRozF69Gh0794ds2fPLjfA7NmzBzk5OThz5ozas38SExPxxhtvICsrC1ZWVhgxYgReeOEFnD9/Hvv378eiRYtUbY8cOYLGjRtj7ty5qm3Xrl2r8Ljv3LmD5ORkfPvtt+jevTuAh6d6ynL06FH06NEDwMNTSKdOnXriNS0+Pj5ISkqCm5t
|
|||
|
"text/plain": [
|
|||
|
"<Figure size 640x480 with 1 Axes>"
|
|||
|
]
|
|||
|
},
|
|||
|
"metadata": {},
|
|||
|
"output_type": "display_data"
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"from sqlite3 import Date\n",
|
|||
|
"\n",
|
|||
|
"\n",
|
|||
|
"# year_groups = pd.cut(dates, everyFiveYears, right=False) # type: ignore\n",
|
|||
|
"\n",
|
|||
|
"# group_counts = year_groups.value_counts().sort_index() # type: ignore\n",
|
|||
|
"\n",
|
|||
|
"\n",
|
|||
|
"# plt.figure(figsize=(10, 6))\n",
|
|||
|
"# plt.show()\n",
|
|||
|
"\n",
|
|||
|
"\n",
|
|||
|
"plot = srez.plot.line(x=\"Store_Sales\", y=\"Daily_Customer_Count\")\n",
|
|||
|
"\n",
|
|||
|
"\n",
|
|||
|
"\n",
|
|||
|
"\n",
|
|||
|
"plot = df.plot.line(x=\"Store_Area\", y=\"Items_Available\")\n",
|
|||
|
"#Зависимость количества поситителей от количества распродаж \n",
|
|||
|
"#Зависимость размера магазина от его ассортимента"
|
|||
|
]
|
|||
|
}
|
|||
|
],
|
|||
|
"metadata": {
|
|||
|
"kernelspec": {
|
|||
|
"display_name": "aisenv",
|
|||
|
"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.6"
|
|||
|
}
|
|||
|
},
|
|||
|
"nbformat": 4,
|
|||
|
"nbformat_minor": 2
|
|||
|
}
|