How do I fix mis-rendered matplotlib? How do I correct my data or format it so that it is presentable, and fix my graphs?


Dataset is 345551 rows × 7 columns.
I am using numpy, pandas, seaborn and matplot lib.
It seems that my pricing data is being displayed in scientific notation. 


When I fit a linear regression model I get the following coefficients 

property_type= -3.096186e+05
new_build= -1.909146e+04

When I use a train/test split and check my predictions they don't make sense.

index=246862
actual=440000
predicted=4.252606e+05
Try using numpy's log or log1p. The math module also offers logarithmic functionality.

You can use sklearn to transform your variables - see MinMaxScaler, StandardScaler, etc.

Other transformations like Box-Cox can be found in scipy.stats