Type object 'Dataset' has no attribute 'from_pandas'

I am using the 2.1.0 version