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

176
LightGBM Custom Loss Function
Python

LightGBM | Loss function

158
How to Convert DataFrame Values Into Percentages
Python

Lambda | Percentages | Pipe

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

Scaler | Standard

118
LightGBM Hyperparameter Tuning with GridSearch
Python

Python | LightGBM | Hyperparameter tuning | Gridsearch

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

Rmse

105
Overwriting a Python Logging File Instead of Appending
Python

Logging

88
Dynamically Create Columns in Pandas Dataframe
Python

Pandas | Columns

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

Pandas | String | Length | Str

74
Lemmatise DataFrame Text Using NLTK
Python

Nltk | Nlp | Lemmatise

70
  • 1 of 17
  • Next