Knowledge in numpy

Learn Online Courses for FREE

Free courses available on EdYoda Python - https://www.edyoda.com/resources/videolisting/98/ Angular - https://www.edyoda.com/resources/videolisting/1227/ Machine Learning - https://www.edyoda.com/resources/videolisting/1416/ Dog Breed Prediction Project - https://www.edyoda.com/resources/videolisting/1336/ https://www.edyoda.com/resources/videolisting/1185/ Numpy - https://www.edyoda.com/resources/videolisting/1263/ Tensorflow - https://www.edyoda.com/resources/videolisting/99/ Amazon Web Services - https://www.edyoda.com/resources/videolisting/1410/ DevOps - https://www.edyoda.com/resources/videolisting/100/ Android - https://www.edyoda.com/resources/videolisting/101/ https://www.edyoda.com/resources/videolisting/1173/ Implementing Java Api's work - https://www.edyoda.com/resources/dashboard/nayak.chandra1/ Introduction to Neural Nets - https://www.edyoda.com/resources/dashboard/maniksoni653/ Deep Reinforcement Learning - https://www.edyoda.com/resources/videolisting/1421/ Knowledge Graphs, Deep Learning, Reasoning - https://www.edyoda.com/resources/videolisting/1420/ Natural Language Processing - https://www.edyoda.com/resources/videolisting/1419/ GAN Miniseries - https://www.edyoda.com/resources/videolisting/1418/ Videos from deep cognition studio - https://www.edyoda.com/resources/dashboard/deepcognition/

Numpy excercise in Python.

This PDF file containing the knowledge about numpy module of Python.

CONVERSION IN OTHER BASE TO DECIMAL (First semester notes) Chapter-2 (Part-4) Makhanlal chaturvedi national University,Bhopal

(Part-4) IN This, There is a chapter SECOND of COMPUTER FUNDAMENTAL Subject Part-4 named NUMBER SYSTEM Makhanlal Chaturvedi national journalism and communication University, Bhopal. There is a very important note oF Fundamental computers For BCA first semester Students. Share with your friends and help them to learn Fundamental of Computers. There are Five subjects in BCA first semester . NUMBER SYSTEM

NumPy Basics for Data Analysis

This PDF is for those who want to learn NumPy for Data Analysis . NumPy is Python Library used for Data Analysis. All the Basics for Data Analysis are available in this PDF.

PYTHON PHISHING DETECTION CODE

This is python code for Phishing detection using machine learning.

The Python Command Line

The Python Command LineTo test a short amount of code in python sometimes it is quickest and easiest not to write the code in a file. This is made possible because Python can be run as a command line itself.Type the following on the Windows, Mac or Linux command line:C:\Users\Your Name>pythonOr, if the "python" command did not work, you can try "py":C:\Users\Your Name>pyFrom there you can write any python, including our hello world example from earlier in the tutorial:C:\Users\Your Name>python Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> print("Hello, World!")Which will write "Hello, World!" in the command line:C:\Users\Your Name>python Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> print("Hello, World!") Hello, World!

Python Indentation

Python IndentationIndentation refers to the spaces at the beginning of a code line.Where in other programming languages the indentation in code is for readability only, the indentation in Python is very important.Python uses indentation to indicate a block of code.Example if 5 > 2: print("Five is greater than two!") Python will give you an error if you skip the indentation:ExampleSyntax Error: if 5 > 2: print("Five is greater than two!")The number of spaces is up to you as a programmer, but it has to be at least one.Example if 5 > 2: print("Five is greater than two!")  if 5 > 2:       print("Five is greater than two!")

Python Data Types

Python Data TypesBuilt-in Data TypesIn programming, data type is an important concept.Variables can store data of different types, and different types can do different things.Python has the following data types built-in by default, in these categories: Text Type: str Numeric Types: int, float, complex Sequence Types: list, tuple, range Mapping Type: dict Set Types: set, frozenset Boolean Type: bool Binary Types: bytes, bytearray, memoryview Getting the Data TypeYou can get the data type of any object by using the type() function:ExamplePrint the data type of the variable x: x = 5 print(type(x))

Python Casting

Python CastingSpecify a Variable TypeThere may be times when you want to specify a type on to a variable. This can be done with casting. Python is an object-orientated language, and as such it uses classes to define data types, including its primitive types.Casting in python is therefore done using constructor functions:int() - constructs an integer number from an integer literal, a float literal (by rounding down to the previous whole number), or a string literal (providing the string represents a whole number)float() - constructs a float number from an integer literal, a float literal or a string literal (providing the string represents a float or an integer)str() - constructs a string from a wide variety of data types, including strings, integer literals and float literalsExampleIntegers: x = int(1)  # x will be 1 y = int(2.8) # y will be 2 z = int("3") # z will be 3 ExampleFloats: x = float(1)    # x will be 1.0 y = float(2.8)  # y will be 2.8 z = float("3")  # z will be 3.0 w = float("4.2") # w will be 4.2 ExampleStrings: x = str("s1") # x will be 's1' y = str(2)   # y will be '2' z = str(3.0) # z will be '3.0'

Check if Key Exists

Check if Key ExistsTo determine if a specified key is present in a dictionary use the in keyword:ExampleCheck if "model" is present in the dictionary: thisdict = {   "brand": "Ford",   "model": "Mustang",   "year": 1964 } if "model" in thisdict: print("Yes, 'model' is one of the keys in the thisdict dictionary") Dictionary LengthTo determine how many items (key-value pairs) a dictionary has, use the len() method.ExamplePrint the number of items in the dictionary: print(len(thisdict)) Adding ItemsAdding an item to the dictionary is done by using a new index key and assigning a value to it:Example thisdict = {   "brand": "Ford",   "model": "Mustang",   "year": 1964 }thisdict["color"] = "red"print(thisdict)

Data Visualization in Python using Pandas

Data Visualization in Python using Pandas