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

169
LightGBM Custom Loss Function
Python

LightGBM | Loss function

152
How to Convert DataFrame Values Into Percentages
Python

Lambda | Percentages | Pipe

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

Scaler | Standard

111
LightGBM Hyperparameter Tuning with GridSearch
Python

Python | LightGBM | Hyperparameter tuning | Gridsearch

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

Rmse

101
Overwriting a Python Logging File Instead of Appending
Python

Logging

82
Dynamically Create Columns in Pandas Dataframe
Python

Pandas | Columns

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

Pandas | String | Length | Str

69
Lemmatise DataFrame Text Using NLTK
Python

Nltk | Nlp | Lemmatise

67
  • 1 of 17
  • Next