KeyError: '50%'
Код: Выделить всё
try:
from ydata_profiling import ProfileReport
except ModuleNotFoundError:
!pip install ydata-profiling
from ydata_profiling import ProfileReport
design_report = ProfileReport(df)
design_report.to_notebook_iframe()
Когда я переключаюсь на выборку, я получаю другую ошибку:
Код: Выделить всё
sample = pandas_df.sample(1000)
report = ProfileReport(sample)
report.to_notebook_iframe()
Подробнее здесь: https://stackoverflow.com/questions/790 ... eyerror-50