Posts

Python Libraries

Python Libraries: There are over 137,000 python libraries present today. Python libraries play a vital role in developing machine learning, data science, data visualization, image and data manipulation applications and more. The Python installers for the Windows platform usually include the entire standard library and often also include many additional components. For Unix-like operating systems Python is normally provided as a collection of packages, so it may be necessary to use the packaging tools provided with the operating system to obtain some or all of the optional components. Many Python libraries exist that offer powerful and efficient foundations for supporting your data science work and machine learning model development. Few are, 1. Pandas:   Pandas is primarily used for data analysis , and it is one of the most commonly used Python libraries. It provides you with some of the most useful set of tools to explore, clean, and analyze your data. With Pandas, you can load, prepa

Sample Exercises for Python

Image
 Sample Exercises in Python: # Numbers  # integers 1 2 3 4 5  # float 1.2 5.6 9.5 10.50  # complex 5+2j  # Sample Operators  "-, *,  /,  +,  **,  %, //"  print(3 // 2)  # Variables , a-z , _ , watch , Watch (Case Sensitive) Watch_price = 500  Customer_Name = "mohi"  Watch1 = Name 1 = 750  print(Watch_price)  print(Customer_Name)  Watch1, Watch2 = 500, 750 Watch1 = Watch2 = 500 # Strings (Values are storing as an Array) word = 'Hi'  word2 = " my age is 24 , I can vote "  para = """ this is my para """  word3 = "hello, world"  print(word[1]) # slicing , length , strip()  # Operators  # +, -, *, /, //, %  // Arithmetic Operator # = // Assignment Operator # > < >= <= // Comparison Operator # and or not // Logical Operator # is is not // Identity Operator # in not in // Membership Operator # & | ^ ~ << >> // Bitwise Operator number1 = 10  number1 /= 10  number2 = number1 + 20  Number1 =

Python Intro

Python Intro: Python was created by Guido van Rossum, and released in 1991. Python is a great object-oriented, interpreted, and interactive programming language. Python allows you to split your program into modules that can be reused in other Python programs.  It comes with collection of standard modules that you can use as the foundation of your programs. Python Download Link: Python can be download from "https://www.python.org/downloads/" IDE: PyCharm has been considered the best IDE for python developers. PyCharm can be download from "https://www.jetbrains.com/pycharm/download" (Python actually comes with a limited IDE called "Integrated DeveLopement Environment (IDLE)" but still developers preferred to use third party IDE (Eg: Pycharm) to create useful applications with any ease). Inside Python: Indentation:  Indentation (Space), is important in python programming,  Colon(:), : symbol is important in python programming, Functions: We can create and use