Skip to content

Instantly share code, notes, and snippets.

@benjamincorcoran
benjamincorcoran / lfs_orders
Created February 15, 2024 09:08
Mock LFS Orders for Training
customer_id,name,sex,age,purchased,purchased_last_year,donated,lead_source
1,"Braund, Mr. Owen Harris",male,22.0,0,1,7.25,webiste
2,"Cumings, Mrs. John Bradley (Florence Briggs Thayer)",female,38.0,1,1,71.2833,facebook
3,"Heikkinen, Miss. Laina",female,26.0,1,0,7.925,facebook
4,"Futrelle, Mrs. Jacques Heath (Lily May Peel)",female,35.0,1,1,53.1,facebook
5,"Allen, Mr. William Henry",male,35.0,0,0,8.05,webiste
6,"Moran, Mr. James",male,,0,0,8.4583,webiste
7,"McCarthy, Mr. Timothy J",male,54.0,0,0,51.8625,webiste
8,"Palsson, Master. Gosta Leonard",male,2.0,0,3,21.075,webiste
9,"Johnson, Mrs. Oscar W (Elisabeth Vilhelmina Berg)",female,27.0,1,0,11.1333,facebook
@benjamincorcoran
benjamincorcoran / Readme.md
Last active August 4, 2021 09:10
Databricks logos for jupyter kernels

Databricks logos for Jupyter kernels

import os
import bs4
COVERAGE_REPORT_DIR = './htmlcov/'
def embed_css_in_html_file(html_file, css_dir):
with open(html_file, 'r') as f:
@benjamincorcoran
benjamincorcoran / SRI Model.ipynb
Last active March 12, 2020 11:53
Simple SRI Model
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
conky.config = {
alignment = 'top_right',
background = true,
border_width = 1,
default_color = '#ffffff',
double_buffer = true,
draw_outline = false,
draw_graph_borders = false,
draw_borders = false,
@benjamincorcoran
benjamincorcoran / land.sas
Created May 12, 2019 08:25
SAS EG Program Timer
%LET TAB = %STR( );
%PUT ;
%PUT &TAB.############################### ;
%PUT &TAB.# SAS CODE SUMMARY #;
%PUT &TAB.# TIME TAKEN: %SYSFUNC(PUTN(%SYSEVALF(%SYSFUNC(MDY(1,1,1960))+%SYSFUNC(TIME())-&LAUNCH_TIME_START.),e8601tm15.6)) #;
%PUT &TAB.# #;
%PUT &TAB.###############################;