0% found this document useful (0 votes)
2 views

Line By Line 12 IP

The document provides an extensive overview of the Pandas library in Python, detailing its purpose for data analysis and manipulation, as well as its main data structures: Series and DataFrame. It includes practical examples of creating and manipulating Series and DataFrames, along with methods for accessing, modifying, and filtering data. Additionally, it touches on importing/exporting data and introduces basic concepts of data visualization using Matplotlib.

Uploaded by

tanishk jaiswal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Line By Line 12 IP

The document provides an extensive overview of the Pandas library in Python, detailing its purpose for data analysis and manipulation, as well as its main data structures: Series and DataFrame. It includes practical examples of creating and manipulating Series and DataFrames, along with methods for accessing, modifying, and filtering data. Additionally, it touches on importing/exporting data and introduces basic concepts of data visualization using Matplotlib.

Uploaded by

tanishk jaiswal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

Pandas Intro:
What is Pandas?
Pandas is a Python library used for data analysis and manipulation.
Use of Pandas
It helps in handling and analyzing structured data efficiently.
Who made Pandas?
Pandas was created by Wes McKinney in 2008.
Main Data Structures
Pandas has two main structures: Series (1D) and DataFrame (2D).
Why use Pandas?
It provides powerful tools to clean, filter, and analyze large datasets easily.
Explaining a Library:
• A library is a collection of pre-written code (modules and functions) that helps simplify programming tasks.
• In Python, libraries like Pandas provide ready-to-use tools to handle complex operations, reducing the need
to write code from scratch.
Data Structures in Pandas:
Series DataFrame
Series is a One-Dimensional data structure. DataFrame is a Two-Dimensional data structure.
Series Data (value) is mutable. It means element’s value DataFrame value is also mutable. It means element’s
can be changed whenever required. value can be changed whenever required.
Series size is Immutable (size cannot change) i.e. Size of DataFrame’s size is Mutable (columns can be added or
a series object once created, cannot change. If you removed)
want to add or drop an element, internally a new Series
object will be created.
Series elements must be homogenous. (same data type Pandas DataFrame can be heterogeneous, meaning that
for all values) it can contain columns of different data types. But in
any single column data should be homogenous. When
you insert data of different types into a column, Pandas
may automatically promote the column to a more
general data type, such as ‘object’, to accommodate the
heterogeneous data.

Difference between Pandas and NumPy


FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

• Empty Series → pd.Series()


• String → pd.Series("Hello") (Creates Series with single string value)
• Tuple → pd.Series(("a", "b", "c"))
• List → pd.Series([10, 20, 30])
• Dictionary → pd.Series({"a": 1, "b": 2})
• ndarray → pd.Series(np.array([1, 2, 3]))
• Scalar Value → pd.Series(5, index=[1,2,3])
• range() → pd.Series(range(1, 6))
• Index-Based Access
o Single Value → s[2] (Fetches element at index 2)
o Multiple Values → s[[1, 3, 5]]
• Label-Based Access
o Single Value → s['a'] (Fetches value at label 'a')
o Multiple Values → s[['x', 'y', 'z']]
• Slicing
o Positional → s[1:4] (Elements from index 1 to 3)
o Labelled → s['b':'e'] (Elements from 'b' to 'e', inclusive)
• Modification In a series through single index or slicing
o Modify Single Value → s[2] = 100 (Changes value at index 2)
o Modify Multiple Values → s[[1, 3]] = [50, 75]
o Modify Using Slicing → s[1:4] = 0 (Sets index 1 to 3 as 0)
o Modify Using Labels → s['a':'c'] = 999 (Updates values from 'a' to 'c')

Attribute Description
Series.index Returns the index of the series
Series.values Returns the underlying data as an ndarray
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

Series.dtype Returns the data type (dtype) of the underlying data


Series.shape Returns a tuple of the shape of the underlying data
Series.nbytes Returns the number of bytes used by the underlying data
Series.ndim Returns the number of dimensions (always 1 for Series)
Series.size Returns the number of elements in the series
Series.itemsize Returns the size (in bytes) of one element in the underlying data
Series.hasnans Returns True if there are any NaN values
Series.empty Returns True if the series is empty

Methods in a Series:
• len(s) → Returns total elements
• s.count() → Counts non-null values
• s.head(n) → Shows first n elements (default 5)
• s.tail(n) → Shows last n elements (default 5)
• s.drop(index) → Removes element at given index
Vector Operations:
• Apply operations on entire Series (e.g., s * 2, s + 5)
Arithmetic Operations:
• Supports element-wise +, -, *, / between Series & Scalars/Series
Filtering Data:
• s[s > 10] → Returns values greater than 10
Sorting Data:
• s.sort_values() → Sorts values
• s.sort_index() → Sorts by index

Data Frame Creation

import pandas as pd
#Dict of List
Dict={"Name":["Komal","Shivani","Poonam","Jia","Megha"],
"Marks":[10,11,11,10,12],
"City":["Kota","Delhi","Goa","Pune","Delhi"]}
Df=pd.DataFrame(Dict,index=["RollNo1","RollNo2","RollNo3","RollNo4","RollNo5"])
print(Df)
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

#Dict of Dict
Dict={"Name":{"RollNo1":"Komal","RollNo2":"Shivani","RollNo3":"Poonam","RollNo4":"Jia","RollNo5":"Me
gha"},
Marks":{"RollNo1":10,"RollNo2":11,"RollNo3":11,"RollNo4":12,"RollNo5":14},
"City":{"RollNo1":"Kota","RollNo2":"Delhi","RollNo3":"Goa","RollNo4":"Pune","RollNo5":"Delhi"}}
Df=pd.DataFrame(Dict)
print(Df)

#List of Dict
D1={"Name":"Komal","Marks":10,"City":"Kota"}
D2={"Name":"Shivani","Marks":11,"City":"Delhi"}
D3={"Name":"Poonam","Marks":11,"City":"Goa"}
D4={"Name":"Jia","Marks":12,"City":"Pune"}
D5={"Name":"Megha","Marks":14,"City":"Delhi"}
List=[D1,D2,D3,D4,D5]
Df=pd.DataFrame(List,index=["RollNo1","RollNo2","RollNo3","RollNo4","RollNo5"])
print(Df)

#List of List
List=[[1,2,3,4,5],[5,6,7,8,56],[9,10,11,12,13]]
Df=pd.DataFrame(List)
print(Df)

#Dict of Series
S1=pd.Series(["Komal","Manu","Poonam","Jia"])
S2=pd.Series([10,12,13,14])
Dict={"Name":S1,"Marks":S2}
Df=pd.DataFrame(Dict)
Df.index=["A","B","C","D"]
print(Df)

Attributes
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

import pandas as pd
D={"Name":["Raja","Rani","Komal"],
"Class":["11B","11C","12A"],
"Marks":[31,34,39]}
Df=pd.DataFrame(D)
print(Df.index)
print(Df.columns)
print(Df.axes)
print(Df.size)#Rows *Col
print(Df.dtypes)#Data Type of each columns
print(Df.shape)#(Row,Col)
print(Df.values)
print(Df.empty)
print(Df.ndim)#2
print(Df.T)#rows into col and Col into rows
Head() and tail()
print(Df.head())#by Default 5 Rows From Top
print(Df.head(2))#2 Rows From Top
print(Df.tail())#by Default 5 Rows From Bottom
print(Df.tail(3))#3 rows from bottom
Accessing Data in DataFrame
1. Access Single Column:
o Df["City"]
o Df.City
o Df.loc[:,"City"]
o Df.iloc[:,2]
2. Access Multiple Columns:
o Df[["City", "Name", "Marks"]]
o Df.loc[:, ["City", "Name", "Marks"]]
o Df.iloc[:, [2, 0, 3]]
3. Access Single Row (loc & iloc):
o Df.loc["R1"] (Label-based)
o Df.iloc[0] (Index-based)
4. Access Multiple Rows (loc & iloc):
o Df.loc[["R1", "R3", "R4"]]
o Df.iloc[[0, 2, 3]]
5. Slicing Rows (loc & iloc):
o Df.loc["R1":"R2"] (Includes last)
o Df.iloc[0:2] (Excludes last)
o Df.loc["R1":"R3":2]
o Df.iloc[0:4:2]
6. Access Single Column (loc & iloc):
o Df.loc[:,"Name"]
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

o Df.iloc[:,0]
7. Access Multiple Columns (loc & iloc):
o Df.loc[:, ["Name", "Marks", "City"]]
o Df.iloc[:, [0, 3, 2]]
8. Slicing Columns (loc & iloc):
o Df.loc[:, "Name":"City"] (Includes last)
o Df.iloc[:, 0:3] (Excludes last)
9. Boolean Indexing (Filtering with Condition):
o Df["Marks"] > 97
o Df.Marks > 97
o Df.loc[:, "Marks"] > 97
o Df.iloc[:, 3] > 97
10.Filtering Rows:
o Df[Df["Marks"] > 97]
o Df[Df.Marks > 97]
o Df.loc[[True, False, True, False, False]]
11. Modify a Single Cell Value (loc & iloc)
o Df.loc["R1", "City"] = "op"
o Df.iloc[0, 2] = "topi"
12. Extra loc & iloc Examples:
o Df.loc["R2":"R4", ["Name", "Marks"]]
o Df.iloc[1:4, [0, 3]]
o Df.iloc[[0, 2], [0, 3]]
13. Slicing Without loc & iloc:
o Df[2:4] (Excludes last)
o Df["R2":"R3"] (Includes last)
14. Add New Column
o Df["NewCol"] = 90
o Df["NewCol"] = [90,45,55,44,33]
o Df.loc[:,"NewCol"] = [90,45,55,44,33]
15. Modify a Column
o Df["Marks"] = [90,45,55,44,33]
o Df.Marks = [90,45,55,44,33]
o Df.loc[:,"Marks"] = [90,45,55,44,33]
16. Add New Row (NCERT Method)
o Df.loc["NewRow"] = 90
o Df.loc["NewRow"] = ["Lovejeet","12A","Kanpur",100]
17. Modify a Row
o Df.loc["R2"] = ["Lovejeet","12A","Kanpur",100]

18. Delete a Row


o Df.drop("R1", inplace=True)
o Df.drop("R1", inplace=True, axis=0)
o Df.drop("R1", inplace=True, axis='index')
o Df.drop(index="R1", inplace=True)
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

19. Delete Multiple Rows


o Df.drop(["R1","R4"], inplace=True)
o Df.drop(["R1","R4"], inplace=True, axis=0)
o Df.drop(["R1","R4"], inplace=True, axis='index')
o Df.drop(index=["R1","R4"], inplace=True)
20. Delete a Column
o Df.drop(columns="City", inplace=True)
o Df.drop("City", inplace=True, axis='columns')
o Df.drop("City", inplace=True, axis=1)
21. Delete Multiple Columns
o Df.drop(columns=["City","Name"], inplace=True)
o Df.drop(["City","Name"], inplace=True, axis='columns')
o Df.drop(["City","Name"], inplace=True, axis=1)
22. Rename a Row
o Df.rename({"R2":"NewRowName"}, inplace=True)
o Df.rename(index={"R2":"NewRowName"}, inplace=True)
23. Rename Multiple Rows
o Df.rename(index={"R2":"NewRowName", "R4":"New"}, inplace=True)
24. Rename a Column
o Df.rename(columns={"Name":"NewName"}, inplace=True)
25. Rename Multiple Columns
o Df.rename(columns={"Name":"NewName", "City":"YourCity"}, inplace=True)

Joining, Merging and Concatenation of DataFrames[NCERT]


(A) Joining We can use the pandas.DataFrame.append() method to merge two DataFrames. It
appends rowsof the second DataFrame at the end of the first DataFrame. Columns not
present in the first DataFrame are added as new columns.

dFrame1=pd.DataFrame([[1, 2, 3], [4, 5],[6]],


columns=['C1', 'C2', 'C3'], index=['R1','R2', 'R3'])
print(dFrame1)
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

dFrame2=pd.DataFrame([[10, 20], [30], [40,50]],


columns=['C2', 'C5'], index=['R4', 'R2','R5'])
print(dFrame2)

Note - Pandas 2.0, the 'append' method has been deprecated.


Importing and exporting data between CSV Files and dataFrames imp

import pandas as pd
Df=pd.read_csv(r"C:\Users\lovej\OneDrive\Desktop\op.csv")
print(Df)
We can load the data from the op.csv file into a DataFrame, using read_csv()

Importing and exporting data between CSV Files and dataFrames imp
Df.to_csv(r"C:\Users\lovej\OneDrive\Desktop\Mo.csv")

" A Comma Separated Value (CSV) file is a text f ile where values are separated
by comma. Each line represents a record (row). Each row consists of one or more f
ields (columns). They can be easily handled through a spreadsheet application."
Count()/max()/min()/sum()imp Pandas 2
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

Count Non Nan Values

print(Df.count())
print(Df.count(0))
print(Df.count(axis=0))
print(Df.count(axis='index'))
print(Df.count('index'))

print(Df.count(1))
print(Df.count(axis=1))
print(Df.count(axis='columns'))
print(Df.count('columns'))

Matplotlib - Last Minute Revision Notes


Matplotlib is a Python library used for data visualization.
matplotlib.pyplot is the module for creating charts.

1. Line Chart
Basic Structure:
import matplotlib.pyplot as plt
x = [1, 2, 3, 4, 5]
y = [10, 20, 25, 30, 40]
plt.plot(x, y) # Create line chart
plt.show() # Display the chart

Common Attributes:
• color='red' → Line color
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

• linestyle='dashed' → Line style


• linewidth=2 → Line thickness
• marker='o' → Mark points (e.g., 'o', '*', 's')
plt.plot(x, y, color='red', linestyle='dashed', linewidth=2, marker='o')
plt.show()
2. Bar Chart
Basic Structure:
x = ['A', 'B', 'C', 'D']
y = [10, 20, 15, 25]
plt.bar(x, y)
plt.show()
Common Attributes:
• color='blue' → Bar color
• width=0.5 → Bar width
• edgecolor='black' → Bar border color
plt.bar(x, y, color='blue', width=0.5, edgecolor='black')
plt.show()
3. Histogram
Basic Structure:
data = [10, 20, 20, 30, 40, 40, 40, 50]
plt.hist(data)
plt.show()
Common Attributes:
• bins=5 → Number of bins
• color='green' → Fill color
• edgecolor='black' → Border color
plt.hist(data, bins=5, color='green', edgecolor='black', alpha=0.7)
plt.show()
4. Customization Functions
Common functions to enhance graphs:
plt.title("Graph Title")
plt.xlabel("X-Axis Label")
plt.ylabel("Y-Axis Label")
plt.legend(["Line 1"]) # For multiple lines
plt.grid(True) # Add grid lines
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

plt.savefig("chart.png") # Save as image


Always use `plt.show()` at the end to display the chart.

5. Differences Between Line Chart, Bar Chart, and Histogram


Feature Line Chart Bar Chart Histogram
Compares Shows data
Purpose Shows trends over time
categories distribution
Continuous values
X-Axis Continuous values Categories
(bins)
Bars showing
Visualization Line connecting points Rectangular bars
frequency
Database

41. Degree: Number of attributes in a table. Cardinality: Number of rows in a table.

42. Primary Key: A column or a set of columns in a table that uniquely identifies each record in
the table.
43. Foreign Key: A column in one table that uniquely identifies a row of another table, creating a
relationship between the two.

44. CHAR vs VARCHAR: CHAR is fixed-length, VARCHAR is variable-length.

45. DDL vs DML: DDL defines structure (CREATE, ALTER,DROP,RENAME), DML manipulates data
(INSERT, UPDATE,SELECT,DELETE).

46. ALTER vs UPDATE: ALTER modifies table structure; UPDATE modifies data.

47. DROP vs DELETE: DROP removes the table; DELETE removes records.

48. LIKE '%a_': % matches any number of characters, _ matches one character.

49. NULL in Aggregate Functions: SUM(), AVG() ignore NULLs.

SQL Commands

49. GROUP BY groups data, used with aggregate functions; HAVING filters groups, WHERE filters
rows.

SELECT column_name, AGGREGATE_FUNCTION(column_name)


FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

FROM table_name

GROUP BY column_name;

• GROUP BY is used with aggregate functions (COUNT(), SUM(), AVG(), MAX(), MIN()).
• HAVING is used to filter grouped results.

50. Cartesian Product: Rows × Rows; Columns are combined.

51. Equi Join: Joins rows with equal values in specified columns.

Numeric Functions:

• POWER(2, 3) → 8 (2³ = 8)

• ROUND(3.678, 2) → 3.68 (Rounds to 2 decimal places)

• MOD(10, 3) → 1 (10 ÷ 3 = 3 remainder 1)

String Functions:

• UCASE('hello') → 'HELLO'

• LCASE('WORLD') → 'world'

• MID('Python', 2, 3) → 'yth' (Extracts from position 2, 3 characters)

• LENGTH('Database') → 8 (Number of characters)

• LEFT('Python', 3) → 'Pyt' (First 3 characters)

• RIGHT('Python', 3) → 'hon' (Last 3 characters)

• INSTR('computer', 'put') → 4 (Position where 'put' starts)

• LTRIM(' Hello') → 'Hello' (Removes leading spaces)

• RTRIM('Hello ') → 'Hello' (Removes trailing spaces)

• TRIM(' Hello ') → 'Hello' (Removes both leading & trailing spaces)

Date Functions:
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

• NOW() → '2025-02-25 14:30:00'` (Current date & time)

• DATE('2025-02-25') → '2025-02-25'

• MONTH('2025-02-25') → 2 (February)

• MONTHNAME('2025-02-25') → 'February'

• YEAR('2025-02-25') → 2025

• DAY('2025-02-25') → 25

• DAYNAME('2025-02-25') → 'Tuesday'

Networking

1. ARPANET: The first prototype of the internet developed by the Advanced Research Projects
Agency.

2. NSF: National Science Foundation, an agency promoting science research and education.

3. PAN, LAN, MAN, WAN: Personal, Local, Metropolitan, and Wide Area Networks classify
networks by size.

4. Fiber Optics: Technology for high-speed data transmission using light through glass or plastic
fibers.

Devices

5. Modem: A device that modulates and demodulates signals for internet connectivity.

6. Router: Connects and manages multiple networks.

7. Repeater: Amplifies and extends network signal range.

8. Gateway: Translates data between different protocols.

9. Bridge: Connects and filters traffic between two LANs.


FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

10. Hub/Switch: A central connection point for devices in a network.

11. Tree Topology: A hierarchical network combining bus and star topologies.

12. Mesh Topology: Requires n(n-1)/2 connections for fully connecting n nodes.

Web Technologies

13. IP Address: A unique identifier for a device in a network.

14. VOIP: Technology for voice communication over the internet.

15. Domain Name: Human-readable names mapping to IP addresses (e.g., google.com).

16. WWW: World Wide Web, a vast collection of interlinked web pages.

17. Dynamic vs Static Webpages: Dynamic pages update interactively; static pages do not
change.

18. Web Browser: Software to access and display web pages (e.g., Chrome, Firefox).

19. Protocols: Email communication standards like SMTP, POP, and IMAP.

20. Add-ons are typically browser extensions that modify or add new features (e.g., Dark Mode
extension in Chrome).

13. Plugins are external software components that enable specific functionality (e.g., Flash
Player for multimedia content).

14. Cookies – Small data files stored on a user's device by websites to remember preferences
and track activity.
15. VoIP (Voice over Internet Protocol) – Technology that allows voice communication over the
internet instead of traditional phone lines.
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

TECH Queen
https://www.youtube.com/@TECHQueenLovejeetArora
Two-Month Study Plan Class – 12 IP

Days Topics What to Complete Link


1. Creation of Series Full Pandas
• Empty Series Link –
• Creating Non- Empty Series: https://www.yo
• String utube.com/playl
• Tuple ist?list=PL1fd5kI
• List ddTjnk2IP376C
• Dictionary KFIZB_4lTCD08
• ndarray
Series One Shot
• Scalar Value

• range()
https://www.yo
2. Accessing Elements of a Series utube.com/watc
3. Through – Index [ Single and Multiple Value Access] h?v=Sw30FCOcB
4. Through – Label [ Single and Multiple Value Access] Rs&t=809s
5. Slicing – With Positional and Labelled
6. Modification In a series through single index or slicing Series PYQs –
7. Attributes of Series https://www.yo
• name utube.com/watc
• values h?v=aQXsgWtW-
Series
1st Dec – 4th Dec • dtype / dtypes nE&t=94s
• shape
• nbytes
• ndim
• size
• itemsize
• hasnans
• empty
8. Methods in a Series
• Len()
• Count()
• Head()
• Tail()
• Drop()
9. Vector Operation
10. Arithmetic Operation in a series
11. Filtering Data in a Series
12. Sorting Data in a Series
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

1. Introduction to DataFrame Full Pandas


2. Creation of DataFrame Link –
(A) Creation of an empty DataFrame https://www.y
(B) Creation of DataFrame from NumPy ndarrays outube.com/wa
(C) Creation of DataFrame from List of Dictionaries tch?v=SfZX323
(D) Creation of DataFrame from Dictionary of Lists w9A0&list=PL1
(E) Creation of DataFrame from Series/ List of fd5kIddTjlN6tS
Series mIni2cCr5mINc
(F) Creation of DataFrame from Dictionary of Series tZ7F
IMP
(G) Creation through ndarray Data Frame
(H) List of List [Not in NCERT] One Shot-
(I) Dict of Dict [Not in NCERT]IMP https://www.y
3. Attributes outube.com/wa
(A) Index tch?v=Q01WaJ5
(B) Columns[imp] -_F8
(C) Axes [Not in NCERT] This can skip
(D) Dtypes DataFRame
(E) Size[imp] PYQs Series 1-
(F) Shape[imp]
https://www.y
outube.com/wa
(G) Values
DatafRame tch?v=Erg-
(H) Empty [not in NCERT]
5th Dec – 20th RAjLc2M
(I) Ndim [not in NCERT] imp
Dec (J) T
DataFRame
4. Head()/tail()imp
PYQs Series 2-
5. DataFrame Vs Series
https://www.y
6. Selecting or Accessing Data [imp] outube.com/wa
(A) For columns tch?v=2unAbvg
• Single column imp Jb9M&list=PL1f
• Multiple Columns imp d5kIddTjmsS7
(B) For Rows [yha se Loc and iloc start krna hai] B1UsHYFrkhffX
Loc and iloc OZjeM
i. Single Row Access through loc and iloc
ii. Multiple Row Access through loc and Diamond
iloc Questions in
iii. Slicing through loc and iloc Pandas –
iv. Single column Access through loc and https://www.y
iloc outube.com/wa
v. Multiple columns Access through loc tch?v=ht-
and iloc eIz3z154&list=
vi. Slicing through loc and iloc PL1fd5kIddTjn
vii. Boolean Indexing 4dRLQrj1oarDF
viii. Filtering Rows in DataFrames [As it vd2AA-Jg
NCERT]
ix. Modify a Single cell value/display [loc Loc, iloc, at, iat
iloc] [Not in NCERT] concept
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

7. loc and iloc me difference https://www.y


outube.com/wa
tch?v=7W_K6GI
-azg

loc and iloc


concept
https://www.y
outube.com/wa
tch?v=EUWaGI
81g4c

CSV File
https://www.y
outube.com/wa
8. ADD new columns tch?v=WXrL9x
(A) NCERT me jo ek tarika btaya hai imp
T0GXU&t=253s
(B) Loc se imp
9. ADD new Row [only one method jo NCERT me hai] imp
DataFrame
10. Drop [ Delete Column and row] imp
Creation Trick
11. Rename column and row imp
https://www.y
12. Joining, Merging and Concatenation of
outube.com/wa
DataFrames[NCERT]
tch?v=_j5yi3oc
13. Importing and exporting data between CSV Files and
2b0&t=1390s
dataFrames imp
14. Pandas series Vs numPy ndarray Pandas
15. Count()/max()/min()/sum()imp Pandas 2 DataFrame -
16. Mean()/Median/mode[Extra] max(), min(),
17. PYQs count(), sum()
https://www.y
outube.com/wa
tch?v=LDBvoqz
Vn6Q

Pandas
DataFrame -
Joining,
Merging &
Concatenation
of DataFrames
https://www.y
outube.com/wa
tch?v=SzazZT3
TYfo
SQL 11th FULL NCERT – Class 11th SQL[Chapter 7 and 8]
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

21th Dec – 22th Full SQL-


Dec https://www.youtube.com/watch?v=nRtcN61Xt30&t=5229s

https://www.youtube.com/watch?v=a72zD76OBDc&list=PL1fd5kIddTjly77Wvccd2u
WwPoTwUVAXx&index=3

SQL – Single Row


Multi Row
Group By
Order By
Joins
Full SQL –
https://www.youtube.com/watch?v=KY6ymphO3eI&list=PL1fd5kIddTjkhzAAKO5zxoBMbPDmJy
gq2
Single Row
https://www.youtube.com/watch?v=wNuV_wuM9aU&list=PL1fd5kIddTjly77Wvccd2uWwPoTwU
VAXx&index=4

PYQs on Single Row-


https://www.youtube.com/watch?v=ZZFTrV_M60Y&list=PL1fd5kIddTjly77Wvccd2uWwPoTwUV
AXx&index=5

Multi Row-
https://www.youtube.com/watch?v=o-
RZNquCP4Y&list=PL1fd5kIddTjly77Wvccd2uWwPoTwUVAXx&index=6
23rd Dec – 30th
Dec Group BY
https://www.youtube.com/watch?v=sf4D9fVnRnA&list=PL1fd5kIddTjly77Wvccd2uWwPoTwUV
AXx&index=7

PYQs on Group By
https://www.youtube.com/watch?v=bvDz6QgR_S4&list=PL1fd5kIddTjly77Wvccd2uWwPoTwUV
AXx&index=8

Having
https://www.youtube.com/watch?v=qltvCYScSzA

Where Vs Having
https://www.youtube.com/watch?v=pBM_7Ns4VCs

Joins
https://www.youtube.com/watch?v=qsmNDZazFOI

PYQs-
https://www.youtube.com/watch?v=oSUBnCanXUI

2nd Jan – 5th Jan Networking


FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

Full One Shot –


https://www.youtube.com/watch?v=JyObIi7Tvg8&t=35s

Case Study Based


6th Jan – 7th Jan https://www.youtube.com/watch?v=K-rW-a0FmUw&t=109s

Societal Impact
One Shot – https://www.youtube.com/watch?v=DjDQQU9Qzfw&t=88s
8th Jan - 9th Jan
Full Playlist - https://www.youtube.com/playlist?list=PL1fd5kIddTjlBAblxxl3M9dOtLwDjWDlL
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

Full Syllabus Playlist

https://www.youtube.com/watch?v=moeuO2qfIIo&list=PL1fd5kIddTjlcxztNY7M-NUODYHeTeMGV

Connect with us:


Email: studenthelplinemailbox@gmail.com
Instagram: https://www.instagram.com/iam_tech_queen/
Telegram - https://t.me/iamTECHQueen
WhatsApp Channel: https://whatsapp.com/channel/0029Va5wA5lJP21BydL8OW2L
FULL IP LINE By LINE REVISION

For Full Revision Follow -


https://www.youtube.com/@TECHQueenLovejeetArora

BEST Question Bank for IP!

Grab Your Copy Now:


Notion Press Link: https://t.ly/j0cRY
Amazon Link: https://t.ly/3q6i0
Don't forget to share your valuable reviews on Amazon!

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy