Skip to content

Instantly share code, notes, and snippets.

View prisae's full-sized avatar
🐧

Dieter Werthmüller prisae

🐧
View GitHub Profile
@kwinkunks
kwinkunks / birthquakes.py
Last active October 26, 2022 09:36
Get earthquakes on your birthday
import pandas as pd
from datetime import timedelta
from urllib.parse import urlencode
def birthquakes(birthday:str) -> pd.DataFrame:
"""
Make a DataFrame of earthquakes on a given day.
Example: birthquake("1971-05-26")