|
| 1 | +# Python-for-Datascience |
| 2 | +This repository contains basic programs in the python programming language.<br><br> |
| 3 | +<img src="https://media3.giphy.com/media/coxQHKASG60HrHtvkt/giphy.gif?cid=790b7611dkgau1ujakt3igpplm9r0nkfvams42q5y263yifr&ep=v1_gifs_search&rid=giphy.gif&ct=g" title="Python Gif" alt="Python"> |
| 4 | + |
| 5 | +<br> |
| 6 | +<centre><h1>About Python Programming</h1></centre> |
| 7 | +--> Python is a high-level, general-purpose, and very popular programming language.<br><br> |
| 8 | +--> Python programming language (latest Python 3) is being used in web development, Machine Learning applications, along with all cutting-edge technology in Software Industry. |
| 9 | +.<br><br> |
| 10 | +--> Python is available across widely used platforms like Windows, Linux, and macOS.<br><br> |
| 11 | +--> The biggest strength of Python is huge collection of standard library .<br> |
| 12 | + |
| 13 | +<centre><h1>Modes of Executions</h1></centre> |
| 14 | +Python programming language can be executed in the following two modes: |
| 15 | +<h2>1. Interactive mode</h2> |
| 16 | +<h3>a) Python Shell</h3> |
| 17 | +Python Shell is a command line tool that starts up the python interpreter to read a Python statement, |
| 18 | +evaluate the result of that statement and then prints the result on the screen.<br> |
| 19 | +<h3>b) IDLE</h3> |
| 20 | +In Windows search Type IDLE. It is an acronym of "Integrated DeveLopment Environment".<br> |
| 21 | +<h3>c) Anaconda</h3> |
| 22 | +Installing Anaconda Software and using Jupyter Notebook.<br> |
| 23 | +<h3>d) Google Colab</h3> |
| 24 | +Colaboratory, or “Colab” for short, is a product from Google Research which allows anybody to write and execute python code in Jupyter notebook through the browser.<br> |
| 25 | + |
| 26 | +<h2>2. Script mode</h2> |
| 27 | +Python programs are written in editors and saved as the file with the .py extension which can be executed further. <br> |
| 28 | +<br> |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | +<br> |
| 34 | +<centre><h1>Basic Datatypes</h1></centre> |
| 35 | +<h2> Numbers</h2> |
| 36 | +✓ Number data type stores numerical values only.<br><br> |
| 37 | +--> It is further classified into three different types: <br> |
| 38 | +      a) Int b) Float c) Complex |
| 39 | +<h2>String</h2> |
| 40 | +✓ A string is a group of characters and can include alphabets, digits or special characters including |
| 41 | +spaces.<br><br> |
| 42 | +--> We can use single, double, or triple quotes to define a string. |
| 43 | +<h2>List</h2> |
| 44 | +✓ Lists are used when we need a simple iterable collection of data that may go for frequent modifications.<br><br> |
| 45 | +-->For example, if we store the names of students of a class in a list, then it is easy to update the list when |
| 46 | +some new students join or some leave the course. |
| 47 | +<h2>Tuple</h2> |
| 48 | +✓ Tuples are used when we do not need any change in the data.<br><br> |
| 49 | +-->For example, names of months in a year. |
| 50 | +<h2>Sets</h2> |
| 51 | +✓ Sets are used when we need uniqueness of elements and to avoid duplicacy it is preferable to use sets.<br><br> |
| 52 | +-->For example, list of items in a museum. |
| 53 | +<h2>Dictionary</h2> |
| 54 | +✓ Dictionaries are used if our data is being constantly modified or we need a fast lookup based on a custom |
| 55 | +key or we need a association between the key : value pair.<br><br> |
| 56 | +-->For Example, A mobile phone book is a good application of dictionary. |
| 57 | + |
| 58 | +<br> |
| 59 | +<h1>Libraries Used</h1> |
| 60 | +<p>Short Description about all libraries used.</p> |
| 61 | +<ul> |
| 62 | +<li>NumPy (Numerical Python) – Enables with collection of mathematical functions |
| 63 | +to operate on array and matrices. </li> |
| 64 | + <li>Pandas (Panel Data/ Python Data Analysis) - This library is mostly used for analyzing, |
| 65 | +cleaning, exploring, and manipulating data.</li> |
| 66 | + |
| 67 | +</ul> |
0 commit comments