sfu-db / dataprep

Open-source low code data preparation library in python. Collect, clean and visualization your data in python with a few lines of code.
http://dataprep.ai
MIT License
2.02k stars 204 forks source link

eda: unreachable error for string type #713

Closed jinglinpeng closed 2 years ago

jinglinpeng commented 2 years ago

Describe the bug The following code throws an unreachable error:

image

To Reproduce

from dataprep.eda import create_report
from dataprep.datasets import load_dataset
import pandas as pd
import numpy as np

df = load_dataset("titanic")
df = df.astype("string")
create_report(df)