Datasnips was built out of frustration in wasting time searching for Data Science & AI code snippets through old projects, documentation and internet sources.

We wanted a platform to easily find & organise our snippets, to share them with the community and discover those shared by other users.

At Datasnips you can quickly search, discover and bookmark snippets from the community, curate your own snippet library for easy reference and share your own snippets for others to use.

Our aim is for Datasnips to be the place where everyone can find the code snippet they need. Sign up to be part of the community.

Code Snippets Blog Login
  • Code Snippets
  • Blog
  • Login

Snippets Tagged "numpy"

Logistic Regression Using Gradient Descent from Scratch
Python
Supervised Learning

#Numpy #Logistic regression #Gradient Descent

detro
3
Replacing NaNs in a Dataframe Column with Mean
Python
Data Preprocessing

#Sklearn #Data-cleaning #Numpy

GregHe1979
2
Calculating the Distance Between Two Vectors With Numpy
Python
Statistics & Probability

#Numpy #Vector #Linear algebra

detro
2
Converting Values to NaNs in All Columns
Python
Data Preprocessing

#Pandas #Data-cleaning #Numpy

GregHe1979
1
Top Contributors
detro
98
analyseup
96
GregHe1979
41
Find Snippets by Language
Python
R
SQL
Terminal
Find Snippets by Use
Data Preprocessing
Statistics & Probability
Visualisation & EDA
Data Preparation for Models
Supervised Learning
Computer Vision
By using Datasnips, you agree to our privacy policy including our cookie policy