fbpx

Python Basics – Data Science (Study Notes )

Share on facebook
Share
Share on linkedin
Share
Share on twitter
Tweet

On the previous blog, the author has explored the a day in the life of a data scientist, but from now on the code academy will be teaching the basics of python in order to be able to practically use python for data analysis. In the first lesson, the author has went through python concepts such as comments, data types, and print function.

 

Exponents in Python. In Python, the exponents can be calculated using the * sign twice in a row. In the above image, the author of the blog was asked to calculate how many tiles are required in a quilt, which was done by exponent calculation. The result of the calculation wa then displayed to the console by using print() function.

String, one of the data type in Python. String is a data type that stores characters, which means it can contain information like words and characters. Here, the author of the blog is displaying the string “Marcus Chang” to the console as a string data.

The introduction to the python basics are really clear to follow as of now, and it really is interesting how these basics syntaxes will contribute to data analysis with python.

 

#Python

#DataScience

 

 

 

 

Share on facebook
Share
Share on linkedin
Share
Share on twitter
Tweet

Related Posts

Authors

IMG
Hannah
a
Jin

About SCC

The importance of having fun and progress in tech education for all our students is our motto. We want our students to create a better future not only for themselves but also for society. Whether it’s programming their own videogame, animating their own cartoon, or building a robot, our tutors can guide them to find newer outlooks and explore unfound discoveries through our courses.