Skip to content

Instantly share code, notes, and snippets.

View nqbao's full-sized avatar
Make Stuff Works

Bao Nguyen nqbao

Make Stuff Works
View GitHub Profile
streamlit
openai <= 1
@nqbao
nqbao / clean.py
Last active April 24, 2023 05:34
my snippets
# remove outliner
upper = df.quantile(0.99)
cols = set(list(df)) - {"ts", "tss"}
df_clean = df
for col in cols:
df_clean = df_clean[(df_clean[col] < upper[col])]