Skip to content

Instantly share code, notes, and snippets.

View DeanLa's full-sized avatar
💭
🐼

Dean Langsam DeanLa

💭
🐼
View GitHub Profile
@DeanLa
DeanLa / setup.py
Created September 30, 2020 11:30
Minimalist setup.py
from setuptools import setup, find_packages
setup(
name='scripts',
packages=find_packages(),
)
@DeanLa
DeanLa / nb.py
Last active August 7, 2021 12:48
import os
import sys
from pathlib import Path
import joblib
import numpy as np
import pandas as pd
from IPython import get_ipython
from IPython.display import Markdown, display
from matplotlib import pyplot as plt
@DeanLa
DeanLa / class_tricks.py
Last active September 15, 2019 07:15
Intermediate Class Tricks
# Get attributes from contained class
class A:
def __init__(self, a, b, ):
self.a = a
self.b = b
class B:
def __init__(self, c, acls):
print("Y")