Data Science

Descripción

Fichas sobre Data Science, creado por Skye Long el 24/02/2020.
Skye Long
Fichas por Skye Long, actualizado hace más de 1 año
Skye Long
Creado por Skye Long hace más de 4 años
1
0

Resumen del Recurso

Pregunta Respuesta
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])
Mostrar resumen completo Ocultar resumen completo

Similar

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