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MDQwNDA0pDSkNDA0MDQwNDA0pDQwNDA0MDQwNDA0pDSkNDA0MDQwNDA0M
View plot_rlm_summary.py
def summary_to_dataframe(summary):
results_as_html = summary.tables[1].as_html()
return pandas.read_html(results_as_html, header=0, index_col=0)[0]
def expand_summary_dataframe(summary):
# Determine new columns
new_cols = summary.index[0].split(':')
col_names = []
for col in new_cols:
View summarise_triggers.py
def summarise_triggers(raw):
import pandas as pd
df = pd.DataFrame()
for desc in np.unique(raw.annotations.description):
picks_desc = [d == desc for d in raw.annotations.description]
try:
# Handle triggers when they are still in numbers
desc = float(desc)
except:
View keybase.md

Keybase proof

I hereby claim:

  • I am rob-luke on github.
  • I am robertluke (https://keybase.io/robertluke) on keybase.
  • I have a public key ASAdrxKYhxSxlwxjkbfMdxIBYs_kdKPJThDeK1ZVvVWNTAo

To claim this, I am signing this object:

View rename.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.