Skip to content

Instantly share code, notes, and snippets.

View Fernigithub's full-sized avatar
👋

Fernando Tentor Fernigithub

👋
View GitHub Profile
sheetname = re.sub('[^A-Za-z0-9]+', '', sheetname)
@Fernigithub
Fernigithub / git folder monorepo
Last active September 27, 2021 12:35
Git folder monorepo
#https://en.terminalroot.com.br/how-to-clone-only-a-subdirectory-with-git-or-svn/
# Create a directory, so Git doesn't get messy, and enter it
mkdir my-dir && cd my-dir
# Start a Git repository
git init
# Track repository, do not enter subdirectory
git remote add -f origin https://github.com/terroo/fonts/
import geopandas as gpd
import json
featcoll = json.loads('{"features":[{"geometry":{"coordinates":[[[[-61.83842,-29.955859],[-61.83761,-29.956296],[-61.835559,-29.95724],[-61.835379,-29.957202],[-61.83503,-29.957289],[-61.834815,-29.957349],[-61.834687,-29.957439],[-61.830553,-29.951344],[-61.835403,-29.949184],[-61.836467,-29.950654],[-61.836462,-29.950826],[-61.836092,-29.951267],[-61.836205,-29.951625],[-61.83621,-29.951634],[-61.836037,-29.95191],[-61.836211,-29.952167],[-61.836387,-29.952378],[-61.836722,-29.952615],[-61.836988,-29.9528],[-61.837191,-29.952966],[-61.83744,-29.952906],[-61.837777,-29.953062],[-61.83791,-29.95312],[-61.83812,-29.953389],[-61.83845,-29.953782],[-61.838855,-29.954416],[-61.839134,-29.954605],[-61.839611,-29.955309],[-61.839481,-29.955451],[-61.83894,-29.955738],[-61.83842,-29.955859]],[[-61.834654,-29.95326],[-61.83463,-29.953262],[-61.834607,-29.953269],[-61.834586,-29.953279],[-61.834568,-29.953293],[-61.834554,-29.95331],[-61.834544,-29.953329],[-61.834539,-29.95335],[-
@Fernigithub
Fernigithub / lowess.py
Created April 5, 2018 14:36 — forked from agramfort/lowess.py
LOWESS : Locally weighted regression
"""
This module implements the Lowess function for nonparametric regression.
Functions:
lowess Fit a smooth nonparametric regression curve to a scatterplot.
For more information, see
William S. Cleveland: "Robust locally weighted regression and smoothing
scatterplots", Journal of the American Statistical Association, December 1979,