DataFrame.sample()
DataFrame.sample(n=None, frac=None, replace=False, weights=None, random_state=None, axis=None)[source]

It seems like the function of 'replace' is the other way around than what is explained in the documentation.

The documentation reads
"replace : bool, default False
Sample with or without replacement."

Whereas in reality it should be 
"replace : bool, default False
Sample without or with replacement."

False --> without replacement
True--> with replacement