Data Science

Descrição

FlashCards sobre Data Science, criado por Skye Long em 24-02-2020.
Skye Long
FlashCards por Skye Long, atualizado more than 1 year ago
Skye Long
Criado por Skye Long mais de 4 anos atrás
1
0

Resumo de Recurso

Questão Responda
Write a function to check the age of a user. If they are over 13 print: “Welcome to the site!” other wise print ‘Sorry you are too young to Enter this site.’ age_check = lambda x: 'Welcome to the site! if age > 13 else 'Sorry you are too young to enter this site.
Add a new column to the df 'customers' that takes the area code from the column 'phone. the format of 'phone is '413-345-0795 customers['area_code'] = customers.phone_number.apply(lambda x: x.split('-')[0])

Semelhante

Basic Python - Lists
Rebecca Noel
Python
Jay Prakash
Computer Science
Bayram Annanurov
Top 5 Data Science Certifications In-demand By Fortune 500 Firms in 2022
Data science council of America
Top 5 Data Science Certifications In-demand By Fortune 500 Firms in 2022
Data science council of America
Skewed Distributions in Data Science.
Vishakha Achmare
Sampling Techniques In Data Science
Vishakha Achmare
Inferential Statistics for Data Science
Vishakha Achmare
Descriptive Statistics for Data Science
Vishakha Achmare
Logistic regression
Vishakha Achmare
Linear Regression
Vishakha Achmare