Monday 29 October 2018

Python for data science course online

Image titleThe aim of this post is to provide a quick reference to people who want to learn Python for Data Science.As you know, Python is a general purpose programming language and is not specific to data scienceworld.So there will be lot of topics to learn for a beginner.Learning every topic in Python might take considerably long time.

How to install Python on MacOS

For MacOS, follow the steps given below:
1.Click on Download Python 3.7.0
python download2.After the python-3.7.0.pkg file gets downloaded, open the installer and follow step by step instructions.
3.Finally you should get the below message, as shown in the screenshot below.

Where should I write Python code and run it ?

Python IDLE editor

In order to write and run Python , you can use an IDE(Integrated Development Environment) like PyCharm or IDLE (Integrated Development and Learning Environment) or  Jupyter Notebook.
Since we have just started learning , let’s use IDLE, as it is the simplest of these three editors.
To launch IDLE, go to your Python Installation directory, there you will find Lib folder.
Go inside Lib folder and you will find idlelib folder.Double click idle.bat file within idlelib folder and then IDLE will start, like shown in the screenshot below.
Let us declare a variable i ,assign 100 to it and press Enter. The variable i will now contain 100.Let’s verify by printing the variable i using print(i)
IDLE is good for practicing simple examples.
If you want to write code within IDLE which contains if clause or loops ,you need to be aware of indentation concepts.
To overcome this, we need an editor which does indentation automatically when we type the code. This is where Jupyter Notebook will be helpful.

Contact Us : 

Mail : honingds01@gmail.com

No comments:

Post a Comment