Skip to content

Instantly share code, notes, and snippets.

__author__ = """Peter Davidson FIA"""
__email__ = '[email protected]'
__version__ = '0.1'
__license__ = 'If you find this helpful, please say thank you'
import pandas as pd, numpy as np
def shear_array(df):
# This function just shears an array
# E.g. x = np.arange(9).reshape(3,3)
# shear_array(x)