Skip to main content

Featured post

12 DevOps principles read today

DevOps means a concept to bring Development team and operation team together. So that you can speed up the deployment process. Before you start learning the tools you need to understand core principles.
The useful DevOps Principles to know for your project and interviewsTo deliver rapidly without affecting qualityCommunication and Collaboration are the key ideas in DevOps conceptMultiple deploys are possible- if code in Development team automatedOnce you commit the repository, it tests the code automatically against the automated test scriptsIf Build is successfully passed, it installs automatically in Testing environment When infrastructure is automated, it installs automatically to other serversMinor changes takes place in isolation, that means , it creates separate server to deploy minor changesSpeed in Devops, organizations to better serve their customers and compete more effectively in the market.Quality and Security teams are part of DevOpsAutomating the process, much better pro…

Data science Secrets Simple Project Useful for Practice

I want to share with you how to use Python for your Data science or analytics Projects. Many programmers struggle to learn Data science because they do not know where to start. You can get hands on if you start with a mini project.

I have used Ubuntu Operating System for this project

Skills You Must Need to become a Data Scientist

You need dual skills - Learning and Apply knowledge. In Data science you need to learn and apply your knowledge. After study engineering, any person gets B Tech or M Tech Degree. You can become a real engineer if you apply engineering principles. So Data science also the same.

data analsis for data engineers

Data Visualization in Python is my simple project

Importance of Data

Data is the precious resource in resolving Machine Learning and Data Science Problems. Define first what is your problem.
  1. Collect Data
  2.  Wrangle  the Data and Clean it.
  3. Visualize the Patterns
In olden days you might be studied a subject called Statistical Analysis. In this subject, you need to study the actual problem and collect the data in a notebook. Let us assume that there were no computers in olden days, and people use paper note books. 

After that, they use pencil and graph paper and draw the charts based on selected data. It is time consuming and laborious process. Finally based on the data visualization people correct the process. The same concept you can see in current data science projects.

Use Python to Write a Script

Related Posts 

Steps You Need 

  • Install Ubuntu on a Virtual Machine
  •  Install Python 3.7X
  • Install Anaconda Python - Which contains all the packages that you need for Data science projects.

ls Command Shows the Script I have created for Mini Project 

ls command you can use all the scripts

Actual Python Code check in the Script using less command

use less command to check the code

Points to Remember

  1. Import command you can use to import packages. 
  2. matplotlib is a package. This you need to draw a plot.
  3. Numpy is required to use all mathematical and Scientific calculation. So I imported Numpy.
  4. The 'as' command is an alias. So that you can save lot of coding time.
  5. I have drawn two plots. One is uniform and the other one in normal

Why I used if__name__=="__main__":

The real meaning is that the script is running under main(). Also the module mypython.py, you can run as Stand alone or you can call this module using import command from another script.

In Python you need to create modules using .py extension. Some people say as scripts and other people say as Modules. All Python documents and Standard text books using the word Python module. So you also can use it.

Related Posts

 How to Execute mypython.py in Python Console

 $python mypython.py

Two Plots Drawn - Normal Distribution and Uniform Distribution

Normal Distribution

normal distribution

 Uniform Distribution

uniform distribution

Summary

These are simple Projects and you can try on your own. These kind of plots you need to draw in Data science projects using real-time data.

You can ask any questions using Comments block below.


Comments

Post a Comment

Thanks for your message. We will get back you.

Most Viewed

Hyperledger Fabric Real Interview Questions Read Today

I am practicing Hyperledger. This is one of the top listed blockchains. This architecture follows R3 Corda specifications. Sharing the interview questions with you that I have prepared for my interview.

Though Ethereum leads in the real-time applications. The latest Hyperledger version is now ready for production applications. It has now become stable for production applications.
The Hyperledger now backed by IBM. But, it is still an open source. These interview questions help you to read quickly. The below set of interview questions help you like a tutorial on Hyperledger fabric. Hyperledger Fabric Interview Questions1). What are Nodes?
In Hyperledger the communication entities are called Nodes.

2). What are the three different types of Nodes?
- Client Node
- Peer Node
- Order Node
The Client node initiates transactions. The peer node commits the transaction. The order node guarantees the delivery.

3). What is Channel?
A channel in Hyperledger is the subnet of the main blockchain. You c…