Posts

Showing posts with the label python

How to Become a Backend Developer.

Image
  What is Backend Development? The back end is the part of web application that handles all the functioning but is hidden from the us er. It refers to the development activities on the server side. In simpler terms, when a user performs any action or triggers any request on the website, the activities that take place behind the scenes are termed as backend development. Backend development mainly consists of – web servers, applications and databases. Backend development consists of a series of steps and actions, we would go through each of them in detail. The workflow of backend web development is - The work of a backend developer starts when the UI/UX designers, graphic designer and front-end developers are ready with a static website. Backend development is done according to the specific use case of the company. Some of the examples of backend development includes storing data collected from a form in the database, letting the user update shopping cart, making a purchase etc. The serv

Transpose of Array| Numpy tutorial | Data Science | Codin India

Image
  In the last post, we learned about reshaping the Numpy array. In this post, we will learn about the transpose of nd-array. Another very interesting reshaping method of Numpy is the   Transpose()   method.   Transpose is an very important topic when we talk about matrices and arrays. In linear algebra, the transpose of a matrix is an operator which flips a matrix over its diagonal. i.e.  It takes the input Array and swaps the rows and columns value and vica-versa. After transpose rows becomes columns and columns becomes rows.  Let us understand by code:-   Output:- It will convert rows into columns and columns to rows. I hope you will Like this post :) if you want to learn python then this tutorial will help you alot Python tutorial for beginners in hindi Please Subscribe to our Youtube Channel - Codin India

Data Structure using Python| codin india

Image
  Data Structure   is a particular way of organizing data in a Computer, so that it can be used effectively. For Example:-   We can store a list of items having the same data-type using arrays. Data structures are fundamental concepts of computer science which helps is writing efficient programs in any language. Python is a high-level, interpreted, interactive and object-oriented scripting language using which we can study the fundamentals of data structure in a simpler way as compared to other programming languages. Types of Data Structure Data structures in computer science are divided into two categories. We will discuss about each of the below data structures in detail one by one. In today's post we will only discuss about data structure definition and its types. We will learn and implement its various types one by one with example. Data Structure Linear Data Structure Non-Linear Data Structure Linear Data Structure A Linear data structure have data elements arranged in sequent

How to search for a string in text files in Python?

Image
  In this article, we are going to see how to search for a particular string in a text file.  Ex:- We have a text file and we want to search a particular string from that file with different methods. Consider we have text file with some text bellow:-  " This is Codin India.  A Coding Platform for programmers   You can learn programming from this portal   We are expert in Python and every day we come with tips and tricks   This Channel is owned by Digamber Jha  "   We can see different method one by one. Lets start with first method. Method 1:-  First We will just find the string is present in the file or not.  If the string found then we will print  the output. Steps for searching:- Open a file. Read the file and store it in a variable. Check the condition using If statement. If the condition is true print "String found" else "String not found". Close the file. Output:- This is simple method for finding the string or text from file but has some limitations

Learn Data Science in 2021 | Python | Codin India

Image
    Hey Friends, In this post we will learn about data science and career in   data science . Let us start with the definition Data Science Data Science is a field of study that combines domain expertise, programming skills and knowledge of mathematics and statistics to extract meaningful insights from data. Data:-  Data is an unorganized collection of raw materials that are collected through observations.  Data  can be text, numbers, and strings.  How data is collected? Data is collected using cookies, when you fill out any form, when you hit the like button to something and some many others way. How collected Data is useful? Collected Data is useful in many ways. Like If you ever noticed that Youtube, Google, Amazon, and many others store your activity in the form of Data.  EX:-  you If you watched a video then Youtube will recommend you the same concepts. If you search for something on Google, then Google will show you the same stuff, Amazon uses the same algorithm if you search for

User Defined data structure - Python | codin india

Image
  In computer science, a data structure is a logical way of organizing data in computer memory so that it can be used effectively. A data structure allows data to be added, removed, stored and maintained in a structured manner. Python supports two types of data structures: 1. Non-primitive data types:- Python has list, set, tuples and dictionary as its non-primitive data types which can also be considered its in-built data structures. List Arrays Tuples Dictionaries 2. User-defined data structures:- Data Structures that aren't supported by python but can be programmed to reflect the same functionality using concepts supported by python are user-defined data structures. There are many data structures that can be implemented this way:- Linked List Stack Queue Tree  Graphs Hash map Linked List Data Structure:- A  Linked List  is a linear data structure, in which the elements are not stored at contiguous memory location. The elements in a linked list are linked using pointers. Python c