Skip to content

Instantly share code, notes, and snippets.

@dshen109
dshen109 / copywarning.py
Created June 1, 2021 02:40
suppress pandas copywarning
from functools import wraps
import pandas
def suppress_chained_assignment_warning(func):
@wraps(func)
def suppressed(*args, **kwargs):
with ChainedAssignment():
return func(*args, **kwargs)

Keybase proof

I hereby claim:

  • I am dshen109 on github.
  • I am dshen (https://keybase.io/dshen) on keybase.
  • I have a public key whose fingerprint is 2D9E 7254 CCD4 6F8D 7C45 816C 089B 2D26 2630 EC6D

To claim this, I am signing this object:

@dshen109
dshen109 / software_offboarding.md
Last active August 21, 2019 23:34
Software offboarding stuff

Offboarding software checklist:

Github:

  • commit & push all local git changes
  • have user delete any generated personal access tokens (https://github.com/settings/tokens) & transfer essential tokens (e.g. readthedocs builds)
  • remove Github account from the AxiomExergy Cloud Software org
  • handoff any assigned Github issue tickets