I'm using pandas to handle my dataset and seaborn to create a plot for it, specifically a bivariate KDE plot.
The dataset contains lightning bolts coordinates and power.
When plotting the data, it comes out as if all of it has a power of ~0, while in reality the dataset doesn't even contain any row with power < 1.3.
import seaborn as sns
import pandas as pd
df = middleEast.head(1000)
sns.jointplot(x='Longitude', y='Power (J)', data=df, kind='kde', bw=0.5)
plt.show()
That's my code. If I use the first 10 rows instead of 1000, it works fine. But again, there is no way that the data in the first 1000 rows is anything close to what is being shown in the plot.
Also tried kdeplot() instead of jointplot(), plots look the same.
Please help!