libraries
This commit is contained in:
@@ -12,27 +12,61 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"execution_count": 3,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "ModuleNotFoundError",
|
||||
"evalue": "No module named 'pandas'",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
||||
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
|
||||
"Cell \u001b[0;32mIn[2], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m## set up the environment\u001b[39;00m\n\u001b[0;32m----> 2\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mpandas\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mpd\u001b[39;00m\n\u001b[1;32m 3\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mnumpy\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mnp\u001b[39;00m\n\u001b[1;32m 4\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mmatplotlib\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mpyplot\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mplt\u001b[39;00m\n",
|
||||
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'pandas'"
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Collecting pandas\n",
|
||||
" Using cached pandas-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (89 kB)\n",
|
||||
"Collecting numpy\n",
|
||||
" Using cached numpy-2.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB)\n",
|
||||
"Collecting matplotlib\n",
|
||||
" Using cached matplotlib-3.9.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)\n",
|
||||
"Collecting seaborn\n",
|
||||
" Using cached seaborn-0.13.2-py3-none-any.whl.metadata (5.4 kB)\n",
|
||||
"Requirement already satisfied: python-dateutil>=2.8.2 in /home/dadams/CSU Fullerton Dropbox/David Adams/Research Projects/California Equity/california_equity_git/.venv/lib/python3.12/site-packages (from pandas) (2.9.0.post0)\n",
|
||||
"Collecting pytz>=2020.1 (from pandas)\n",
|
||||
" Using cached pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)\n",
|
||||
"Collecting tzdata>=2022.7 (from pandas)\n",
|
||||
" Downloading tzdata-2024.2-py2.py3-none-any.whl.metadata (1.4 kB)\n",
|
||||
"Collecting contourpy>=1.0.1 (from matplotlib)\n",
|
||||
" Using cached contourpy-1.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.4 kB)\n",
|
||||
"Collecting cycler>=0.10 (from matplotlib)\n",
|
||||
" Using cached cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)\n",
|
||||
"Collecting fonttools>=4.22.0 (from matplotlib)\n",
|
||||
" Downloading fonttools-4.54.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (163 kB)\n",
|
||||
"Collecting kiwisolver>=1.3.1 (from matplotlib)\n",
|
||||
" Using cached kiwisolver-1.4.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.3 kB)\n",
|
||||
"Requirement already satisfied: packaging>=20.0 in /home/dadams/CSU Fullerton Dropbox/David Adams/Research Projects/California Equity/california_equity_git/.venv/lib/python3.12/site-packages (from matplotlib) (24.1)\n",
|
||||
"Collecting pillow>=8 (from matplotlib)\n",
|
||||
" Using cached pillow-10.4.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (9.2 kB)\n",
|
||||
"Collecting pyparsing>=2.3.1 (from matplotlib)\n",
|
||||
" Using cached pyparsing-3.1.4-py3-none-any.whl.metadata (5.1 kB)\n",
|
||||
"Requirement already satisfied: six>=1.5 in /home/dadams/CSU Fullerton Dropbox/David Adams/Research Projects/California Equity/california_equity_git/.venv/lib/python3.12/site-packages (from python-dateutil>=2.8.2->pandas) (1.16.0)\n",
|
||||
"Using cached pandas-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.7 MB)\n",
|
||||
"Using cached numpy-2.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.0 MB)\n",
|
||||
"Using cached matplotlib-3.9.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB)\n",
|
||||
"Using cached seaborn-0.13.2-py3-none-any.whl (294 kB)\n",
|
||||
"Using cached contourpy-1.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (320 kB)\n",
|
||||
"Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)\n",
|
||||
"Downloading fonttools-4.54.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB)\n",
|
||||
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.9/4.9 MB\u001b[0m \u001b[31m34.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
||||
"\u001b[?25hUsing cached kiwisolver-1.4.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB)\n",
|
||||
"Using cached pillow-10.4.0-cp312-cp312-manylinux_2_28_x86_64.whl (4.5 MB)\n",
|
||||
"Using cached pyparsing-3.1.4-py3-none-any.whl (104 kB)\n",
|
||||
"Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB)\n",
|
||||
"Downloading tzdata-2024.2-py2.py3-none-any.whl (346 kB)\n",
|
||||
"Installing collected packages: pytz, tzdata, pyparsing, pillow, numpy, kiwisolver, fonttools, cycler, pandas, contourpy, matplotlib, seaborn\n",
|
||||
"Successfully installed contourpy-1.3.0 cycler-0.12.1 fonttools-4.54.1 kiwisolver-1.4.7 matplotlib-3.9.2 numpy-2.1.1 pandas-2.2.3 pillow-10.4.0 pyparsing-3.1.4 pytz-2024.2 seaborn-0.13.2 tzdata-2024.2\n",
|
||||
"Note: you may need to restart the kernel to use updated packages.\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"## set up the environment\n",
|
||||
"import pandas as pd\n",
|
||||
"import numpy as np\n",
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"import seaborn as sns"
|
||||
"%pip install pandas numpy matplotlib seaborn\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user