import numpy as np # linear algebra
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)
import matplotlib.pyplot as plt
import seaborn as sb

import os
for dirname, _, filenames in os.walk('/kaggle/input'):
    for filename in filenames:
        print(os.path.join(dirname, filename))

df = pd.read_csv("/kaggle/input/meteorite-landings/meteorite-landings.csv")
df.head()
df.info()
df = df.dropna(subset=["reclong", "reclat"])
df = df[df.reclong < 300]
"""
## 2D Histogram
"""
plt.hist2d(df.reclong, df.reclat, bins=200, vmax=4)
plt.colorbar();
"""
# Contour 
"""
spacing = np.linspace(0,10,200)
X,Y = np.meshgrid(spacing,spacing)
Z = (np.sin(X) + np.cos(Y) + 2 * np.arcsinh(X * Y))**2

plt.contour(X,Y,Z, levles=20)
plt.colorbar();
c = plt.contour(X,Y,Z, levels=20)
plt.clabel(c, inline=True, fmt="%0.1f")
plt.colorbar();
c = plt.contourf(X,Y,Z, levels=20)
plt.colorbar();
plt.contourf(X,Y,Z,levels=10)
c = plt.contour(X,Y,Z, levels=10, colors='black')
plt.clabel(c, inline=True, fmt="%0.1f");
"""
# Joinplots
"""
sb.jointplot(data=df, x="reclong", y="reclat");
sb.jointplot(data=df,x="reclong", y="reclat", kind="hex",
             gridsize=100, vmax=3, linewidth=0, marginal_kws={"bins": 100});