Skip to content

Instantly share code, notes, and snippets.

View pessini's full-sized avatar

Leandro Pessini pessini

View GitHub Profile
@boaglio
boaglio / JavaClassFileVersion.md
Last active January 7, 2024 12:09
Java class file version

Aquele erro

Class has been compiled by a more recent version of the Java Environment (class file version 61.0), 
this version of the Java Runtime only recognizes class file versions up to 55.0.

É quando compilamos com Java 17 (class file version 61.0) e tentamos executar com Java 11 (class file version 55.0).

from typing import Optional, Union
import numpy as np
import pandas as pd
from sklearn.linear_model import LinearRegression, LogisticRegression
from sklearn.base import BaseEstimator
from sklearn.utils.estimator_checks import check_estimator
from sklearn.utils.validation import check_X_y, check_array, check_is_fitted
from lightgbm import LGBMClassifier, LGBMRegressor
@saljfoskett
saljfoskett / data-cleaning-cheat-sheet.md
Created October 23, 2019 09:31
Data cleaning snippets in R and Python

Data cleaning - equivalent code in R and Python

As an R user venturing into Python-land, I often find myself googling 'Python equivalent of X' or 'X in Python' for useful R functions. So when I had to create a programming cheat sheet as part of a course in Data Science Practice, it was a great opportunity to start collecting these functions in one place.

Comments are welcome! What doesn't work? Is there a better way? What is missing?

Inspect and visualise data

On 11 June 2014, Hilary Mason sent a question out into the Twittersphere:

@kevin-smets
kevin-smets / iterm2-solarized.md
Last active May 3, 2024 12:59
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k