Python


Python is an interpreted, high-level, general-purpose programming language. Python's design philosophy emphasizes code readability with its notable use of significant whitespace. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.

You can check out some easy python programmes that I created for tasks like sending emails/Whatsapp message, Generate notification and 1 Guessing game




Numpy - Pandas


NumPy stands for ‘Numerical Python’ or ‘Numeric Python’. It is an open source module of Python which provides fast mathematical computation on arrays and matrices. Similar to NumPy, Pandas is one of the most widely used python libraries in data science. It provides high-performance, easy to use structures and data analysis tools. Unlike NumPy library which provides objects for multi-dimensional arrays, Pandas provides in-memory 2d table object called Dataframe. It is like a spreadsheet with column names and row labels.

bs1.JPG
bs2.JPG

Generate Data using Python



import random
import string
import pandas as pd
from datetime import date
TotalData = 1000 #total data you need
x=0
numbers = []
sequence = []
letter = []
UpperCaseLetter = []
LowerCaseLetter = []
Names = []
Date = []
Password = []
while x < TotalData:
    x+=1
    sequence.append(x)
    numbers.append(random.randint(1000000000,9999999999))
    letter.append(random.choice(string.ascii_letters))
    UpperCaseLetter.append(random.choice(string.ascii_uppercase))
    LowerCaseLetter.append(random.choice(string.ascii_lowercase))
    name = "".join([random.choice(string.ascii_letters) for n in range(10)])
    password = "".join([random.choice(string.ascii_letters + string.digits) for n in range(10)])
    Password.append(password)
    Names.append(name)
    Date.append(date.today())
df = pd.DataFrame(list(zip(sequence,Names,Password,numbers,Date,letter,UpperCaseLetter,LowerCaseLetter)),
                columns=["SrNo","Name","Password","Phone","Date","Letter","UpperCase","LowerCase"])

print(df.head(7))
df.to_csv("NewData.csv",index=False)
print("File is Created with",TotalData,"data")

--- Personal Verdict ---



Python is a very powerful and easy to learn programming language. Extensively used for Data science because of it's very famous libraries like Numpy and Pandas as we mentioned previously. Just to give a very small example how powerful Python really is, a single line of code is enough to make a program to find a square or cube of 100 or even more digit number.

print(int(input("Enter a Number: ")) ** 2)

Online Videos that I found helpful