Saturday, 15 July 2017

Data Science & Machine Learning - 2.2 Python Basics with Jupyter Notebook

Hi friends,

In this post under Data Science & Machine Learning, we'll see on overview of Python programming language. Keep in mind, it is just to refresh the python syntax and not to learn the Python programming language from scratch. If you are new to Python, I recommend you to first learn Python and then continue with these tutorials on Data Science & Machine Learning. In the previous post, we discussed an overview of working with Jupyter Notebook.

Note: All the commands discussed below are run in the Jupyter Notebook environment. See this post on Jupyter Notebook to know about it in detail.

So, let's begin with the Python overview.

Python Basics

First, we see the built-in data types in Python.
  1. Integers/Floats
  2. We can also assign the values to the variables using assignment operator =.  

  3. Strings

  4. Lists: The list type is a data structure that holds a number of objects in a given order


  5. Tuples:  These are immutable lists in Python


  6. Dictionaries: Dictionaries are unordered key-value pairs.

That's all for this post on basic data structures in Python. In the next post, we'll discuss the various loops, relational operators, methods and other advance topics in Python.
Share:

2 comments:

  1. Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man learn Python Online Course

    ReplyDelete
  2. Learn and practice Business Analyst Interview Questions answers for the preparations of interviews and to increase your knowledge in this area."

    Visit here : Business Analyst Interview Questions

    ReplyDelete

Contact Me

Name

Email *

Message *

Popular Posts

Blog Archive