Skip to content

Instantly share code, notes, and snippets.

Matt Davis jiffyclub

Block or report user

Report or block jiffyclub

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jiffyclub
jiffyclub / .gitconfig
Last active Oct 7, 2019
My git aliases
View .gitconfig
[core]
editor = code -nw
[alias]
st = status
ls = log --oneline --decorate
lg = log --oneline --decorate --graph
ff = merge --ff-only
mrg = merge --no-ff
ffpull = pull --ff-only
co = checkout
@jiffyclub
jiffyclub / slash_argparse.py
Created Dec 1, 2017
Utilities for creating command line-like interfaces for Slack /slash commands.
View slash_argparse.py
"""
Utilities for creating command line-like interfaces for Slack /slash commands.
Define your parser spec using an instance of SlashParser and then pass it to parse_args
for parsing. Be sure to check the returned success flag to know whether parsing
was successful or if there was a parsing error.
"""
import argparse
import re
@jiffyclub
jiffyclub / Excel to Pandas.ipynb
Created Jul 15, 2017
Using pandas and xlrd to concatenate multiple excel sheets into a single dataframe. In answer to this Stack Overflow question: https://stackoverflow.com/questions/45113070/how-do-i-make-this-function-for-concatenating-excel-sheets-from-a-single-file-mo#
View Excel to Pandas.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jiffyclub
jiffyclub / DAG-Import-Profile.ipynb
Created Nov 18, 2016
How to profile the import of an Airflow DAG definition file
View DAG-Import-Profile.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jiffyclub
jiffyclub / scipy_gender_stats.md
Last active Jul 29, 2016
SciPy Gender Diversity Stats
View scipy_gender_stats.md
@jiffyclub
jiffyclub / pandas_date_conversion.ipynb
Last active Jun 10, 2016
Example of doing Pandas date conversion using a converter function
View pandas_date_conversion.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jiffyclub
jiffyclub / dataframe_concatenation.ipynb
Created Jun 8, 2016
Examples of concatenating two dataframes. They must have the same column names.
View dataframe_concatenation.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jiffyclub
jiffyclub / sqlalchemy_odo.ipynb
Last active Oct 5, 2015
Simple SQLite inserts with SQLAlchemy and Odo
View sqlalchemy_odo.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View pandas_copy_fast.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jiffyclub
jiffyclub / devthings.md
Last active Jan 29, 2016
Things I find useful as a developer
View devthings.md
You can’t perform that action at this time.