In the educational independent learning data material in Python we discuss when to use the different types of loops. In Python, we have the choice between a For Loop and a While loop. In the end, both python loops can be made to do very similar things but will be easier to implement in one type, either the for or while loop. In Data Science we normally have a set amount of data at the start and so a for loop that traverses a set number of variables fits very nicely with data science projects and is less code that a while loop.
Python Basics
https://www.datasimple.education/pyth...
check out more data learning videos
https://www.datasimple.education/data...
One on one time with Data Science Teacher Brandyn
https://www.datasimple.education/one-...
data science teacher brandyn on facebook
/ datascienceteacherbrandyn
data science teacher brandyn on linkedin
/ admin
Showcase your DataArt linkedin
/ 1038628576726134
Showcase your DataArt facebook
/ 12736236
Python data analysis group, share your analysis
/ 1531938470572261
Machine learning in sklearn group
/ 575574217682061
Join the deep learning with tensorflow for more info
/ 369278408349330