datamol-io / datamol

Molecular Processing Made Easy.
https://docs.datamol.io
Apache License 2.0
462 stars 48 forks source link

Typing: `dm.to_df` output type should not be optional #158

Closed hadim closed 1 year ago

hadim commented 1 year ago

-> pd.DataFrame: instead of -> Optional[pd.DataFrame]:

I can't see in the function a place where None would be returned.