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

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

T-SQL

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

Tensorflow | Python | Ltsm | Deep learning

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

Pandas | Isin

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

String | Filter | Startswith | Contains | Endswith

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

T-SQL

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

Headers

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

Pandas | Stratified sampling

26
Scrape Reddit Posts Using PMAW & Python
Python

Scraping | Reddit | Pmaw

21
Get Immediate Subdirectories Using Python
Python

Python | Files | Directories

19
  • 1 of 4
  • Next