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

157
LightGBM Custom Loss Function
Python

LightGBM | Loss function

139
How to Convert DataFrame Values Into Percentages
Python

Lambda | Percentages | Pipe

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

Scaler | Standard

100
LightGBM Hyperparameter Tuning with GridSearch
Python

Python | LightGBM | Hyperparameter tuning | Gridsearch

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

Rmse

94
Dynamically Create Columns in Pandas Dataframe
Python

Pandas | Columns

73
Overwriting a Python Logging File Instead of Appending
Python

Logging

72
Lemmatise DataFrame Text Using NLTK
Python

Nltk | Nlp | Lemmatise

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

Pandas | String | Length | Str

61
  • 1 of 17
  • Next