We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The output columns from get_dummies() are binary by nature, changing this default from float64 to int8 would save 7 bytes per dummy.
get_dummies()
df=pd.DataFrame({ 'x':[1,2,3] }) pd.get_dummies(df.x)