yoshida-lab / XenonPy

XenonPy is a Python Software for Materials Informatics
http://xenonpy.readthedocs.io
BSD 3-Clause "New" or "Revised" License
135 stars 57 forks source link

Check the data type when doing automatic parallel in BaseFeaturizer #218

Closed TsumiNa closed 3 years ago

TsumiNa commented 3 years ago

https://github.com/yoshida-lab/XenonPy/blob/a3243a2030c8294f2ff3fc93e43cb658414ade93/xenonpy/descriptor/base.py#L277-L287

As mentioned in #217, it's better to add a type checker to prevent automatic parallel when input is a dataframe.