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

Greg He

Data Scientist

Reading CSV Files from Amazon S3 into Pandas Dataframes
Python

Pandas | Python | S3

80
Building an LSTM Neural Network for Binary Classification with TensorFlow
Python

Tensorflow | Python | Ltsm | Deep learning

53
Getting the Last Record Using Rank Function - T-SQL Example
SQL

T-SQL

52
Filtering Rows in Pandas Based on Another DataFrame's Values Using isin() Method.
Python

Pandas | Isin

51
Filtering DataFrame Columns with EndsWith, StartsWith, and Contains
Python

String | Filter | Startswith | Contains | Endswith

46
Getting the Date for the Previous Saturday with T-SQL
SQL

T-SQL

45
How To Set First Row of a Pandas Dataframe as Column Headers
Python

Headers

41
Stratified Sampling with Pandas: How to Create a Representative Sample by Category
Python

Pandas | Stratified sampling

29
Scrape Reddit Posts Using PMAW & Python
Python

Scraping | Reddit | Pmaw

23
Balancing Imbalanced Datasets with SMOTE: A Python Example Using imbalanced-learn
Python

Python | Imbalanced-learn | Smote

20
  • 1 of 4
  • Next