top of page
learn_data_science.jpg

Data Scientist Program

 

Free Online Data Science Training for Complete Beginners.
 


No prior coding knowledge required!

Lambda functions

They are very useful when it is necessary to perform small tasks with less code, they promote the readability of the code

example :


 power = lambda x, y: x ** y
power(2, 3)
8

Lambdas show us their great power when we need to use functions that take another function as an argument. An example of such a function in python could be: apply(), map() or reduce().



nums = [48, 6, 9, 21, 1]
square = map(lambda num: num ** 2, nums)
print(square)

apply to a dataset


import pandas as pd

train = pd.read_csv("dataset/train.csv") # load the dataset

The first thing to do is to deal with the missing value , lets check first how many there are for each variable avec Lambda function

train.apply(lambda x: sum(x.isnull()),axis=0)

here is the notebook




 
 
 

Commentaires


COURSES, PROGRAMS & CERTIFICATIONS

 

Advanced Business Analytics Specialization

Applied Data Science with Python (University of Michigan)

Data Analyst Professional Certificate (IBM)

Data Science Professional Certificate (IBM)

Data Science Specialization (John Hopkins University)

Data Science with Python Certification Training 

Data Scientist Career Path

Data Scientist Nano Degree Program

Data Scientist Program

Deep Learning Specialization

Machine Learning Course (Andrew Ng @ Stanford)

Machine Learning, Data Science and Deep Learning

Machine Learning Specialization (University of Washington)

Master Python for Data Science

Mathematics for Machine Learning (Imperial College London)

Programming with Python

Python for Everybody Specialization (University of Michigan)

Python Machine Learning Certification Training

Reinforcement Learning Specialization (University of Alberta)

Join our mailing list

Data Insight participates in affiliate programs and may sometimes get a commission through purchases made through our links without any additional cost to our visitors.

bottom of page