Skip to main content

Posts

Showing posts matching the search for data structure

What is Data Structure?

Data structure is  a technique which is used to arrange the data using different data pattern ,it is mostly used to manage internal memory management of program,each and every programming language use data structure concept to implement data storage. Type of Data Structure:- 1 Linear Data Structure:-   1) Array  :-       1,.1)  Array implementation to Add,Edit ,Delete Items from beginning,specific position and last       1.2)  Array With Stack      1.3)   Array With Queue   2) LinkedList:-      2.1)  LinkedList implementation to Add,Edit,Delete Items from begining,specific position and last.     2.2)  LinkedList to Stack     2.3)  Linked to Queue         2 Non-Linear Data Structure  2.1) Tree 2.2) Graph ............................................................................

Pandas Introduction, Data Selection using pandas

It is the upper layer of NumPy that has been created by the NumPy library, pandas are used to provide data operation, data selection, and data structure similar to SQL query of the database. How to install pandas in the machine? pip install pandas conda instal pandas Pandas provide two different types of Objects:- 1)  Series: - Series is called Single Dimension Array that is used to contain labeled data under array objects. It is also used to implement numerical operations similar to NumPy array but it is used to implement calculation on Dataframe columns. Example 1st:- Create Script to display data on series Without label import pandas as pd import numpy as np arr = np.array([12,23,34,56,89,11]) data = pd.Series(arr) print(data) Create Script to display data on series With label import pandas as pd import numpy as np arr = np.array([12,23,34,56,89,11]) data = pd.Series(arr,index=['P','q','r','s','t','u']) print(data) Create Series with L...

DSA in C# | Data Structure and Algorithm using C#

  DSA in C# |  Data Structure and Algorithm using C#: Lecture 1: Introduction to Data Structures and Algorithms (1 Hour) 1.1 What are Data Structures? Data Structures are ways to store and organize data so it can be used efficiently. Think of data structures as containers that hold data in a specific format. Types of Data Structures: Primitive Data Structures : These are basic structures built into the language. Example: int , float , char , bool in C#. Example : csharp int age = 25;  // 'age' stores an integer value. bool isStudent = true;  // 'isStudent' stores a boolean value. Non-Primitive Data Structures : These are more complex and are built using primitive types. They are divided into: Linear : Arrays, Lists, Queues, Stacks (data is arranged in a sequence). Non-Linear : Trees, Graphs (data is connected in more complex ways). Example : // Array is a simple linear data structure int[] number...