AIM-PIbd-32-Kaznacheeva-E-K/lab_4/Lab4.ipynb

8.3 KiB

Начало лабораторной работы

In [ ]:
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
import seaborn as sns

# Подключим датафрейм и выгрузим данные
df = pd.read_csv(".//static//csv//ds_salaries.csv")
print(df.columns)
---------------------------------------------------------------------------
KeyboardInterrupt                         Traceback (most recent call last)
Cell In[2], line 4
      2 import matplotlib.pyplot as plt
      3 import matplotlib.ticker as ticker
----> 4 import seaborn as sns
      6 # Подключим датафрейм и выгрузим данные
      7 df = pd.read_csv(".//static//csv//kc_house_data.csv")

File d:\MII\AIM-PIbd-32-Kaznacheeva-E-K\aimenv\Lib\site-packages\seaborn\__init__.py:5
      3 from .utils import *  # noqa: F401,F403
      4 from .palettes import *  # noqa: F401,F403
----> 5 from .relational import *  # noqa: F401,F403
      6 from .regression import *  # noqa: F401,F403
      7 from .categorical import *  # noqa: F401,F403

File d:\MII\AIM-PIbd-32-Kaznacheeva-E-K\aimenv\Lib\site-packages\seaborn\relational.py:21
     13 from .utils import (
     14     adjust_legend_subtitles,
     15     _default_color,
   (...)
     18     _scatter_legend_artist,
     19 )
     20 from ._compat import groupby_apply_include_groups
---> 21 from ._statistics import EstimateAggregator, WeightedAggregator
     22 from .axisgrid import FacetGrid, _facet_docs
     23 from ._docstrings import DocstringComponents, _core_docs

File d:\MII\AIM-PIbd-32-Kaznacheeva-E-K\aimenv\Lib\site-packages\seaborn\_statistics.py:32
     30 import pandas as pd
     31 try:
---> 32     from scipy.stats import gaussian_kde
     33     _no_scipy = False
     34 except ImportError:

File d:\MII\AIM-PIbd-32-Kaznacheeva-E-K\aimenv\Lib\site-packages\scipy\__init__.py:99
     94 # This is the first import of an extension module within SciPy. If there's
     95 # a general issue with the install, such that extension modules are missing
     96 # or cannot be imported, this is where we'll get a failure - so give an
     97 # informative error message.
     98 try:
---> 99     from scipy._lib._ccallback import LowLevelCallable
    100 except ImportError as e:
    101     msg = "The `scipy` install you are using seems to be broken, " + \
    102           "(extension modules cannot be imported), " + \
    103           "please try reinstalling."

File d:\MII\AIM-PIbd-32-Kaznacheeva-E-K\aimenv\Lib\site-packages\scipy\_lib\_ccallback.py:1
----> 1 from . import _ccallback_c
      3 import ctypes
      5 PyCFuncPtr = ctypes.CFUNCTYPE(ctypes.c_void_p).__bases__[0]

File <frozen importlib._bootstrap>:645, in parent(self)

KeyboardInterrupt: