Never Forget Another Line of Code

Datasnips is a free code snippet hosting platform for Data Science & AI. It enables your code snippets to be organized, searchable & shareable.

LOGIN
PUBLIC SNIPPETS
LATEST SNIPPETS
TOP SNIPPETS
SNIPPET COLLECTIONS
ML CODE BUILDER
BLOG
POPULAR TAGS
#XGBOOST
#LIGHTGBM
#CATBOOST
#TENSORFLOW
#PANDAS
#MATPLOTLIB
#SEABORN
LOGIN
PUBLIC SNIPPETS
LATEST SNIPPETS
TOP SNIPPETS
SNIPPET COLLECTIONS
ML CODE BUILDER
BLOG
{ profile.display_name}

detro

detro

Remove Stop Words from Text in DataFrame Column
Python

Pandas | Nltk | Nlp

172
LightGBM Custom Loss Function
Python

LightGBM | Loss function

154
How to Convert DataFrame Values Into Percentages
Python

Lambda | Percentages | Pipe

136
How to Scale Data Using Standard Scaler But Keep Column Names
Python

Scaler | Standard

114
LightGBM Hyperparameter Tuning with GridSearch
Python

Python | LightGBM | Hyperparameter tuning | Gridsearch

112
Calculating Root Mean Squared Error (RMSE) with Sklearn and Python
Python

Rmse

103
Overwriting a Python Logging File Instead of Appending
Python

Logging

85
Dynamically Create Columns in Pandas Dataframe
Python

Pandas | Columns

84
Get Average Length of Strings in a Pandas DataFrame Column
Python

Pandas | String | Length | Str

71
Lemmatise DataFrame Text Using NLTK
Python

Nltk | Nlp | Lemmatise

68
  • 1 of 17
  • Next