Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# ref https://github.com/tebeka/pythonwise/blob/master/docker-miniconda/Dockerfile | |
# | |
# miniconda vers: http://repo.continuum.io/miniconda | |
# sample variations: | |
# Miniconda3-latest-Linux-armv7l.sh | |
# Miniconda3-latest-Linux-x86_64.sh | |
# Miniconda3-py38_4.10.3-Linux-x86_64.sh | |
# Miniconda3-py37_4.10.3-Linux-x86_64.sh | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Convert .xlsb to .csv - PowerShell function. | |
## | |
## USAGE: | |
# Open Windows PowerShell, change your paths on below one liner and paste it in Windows PowerShell: | |
# Set-ExecutionPolicy Bypass -Scope Process -Force; $username = $env:username; . "C:\Users\$username\Documents\ConvertFrom-XLSB.ps1"; Get-ChildItem "C:\Users\$username\Desktop\*xlsb' | Sort-Object LastWriteTime -Descending | Select-Object -First 1 -ExpandProperty Fullname | ConvertFrom-XLSB -OutputPath 'C:\Users\$username\Desktop\' | |
## | |
function ConvertFrom-XLSB { | |
param( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Distributions, KernelDensity, QuadGK | |
function gini(x) | |
n = length(x) | |
xx = sort(x) | |
2*(sum(collect(1:n).*xx))/(n*sum(xx))-1 | |
end | |
gini(d::Exponential) = 0.5 | |
gini(d::Beta) = (2/d.α)*beta(d.α+d.β, d.α+d.β)/(beta(d.α,d.α)*beta(d.β, d.β)) |
This script makes use of the Numpad to control media players and volume on your system.
- Install AutoHotkey
- Right-click
.ahk
script Compile Script
- Start executable