Add/ Remove Rows From Pandas DataFrame
In this video, I have explained how we can add/remove row(s) from the pandas data frame.
1. Using concat
2. Using Append
3. Using iloc
4. Using loc.
5. Remove rows from pandas dataframe.
------------------------------------------------------------------------
DataFrame
------------------------------------------------------------------------
import pandas as pd
dict1 ={'Name':['Priyang','Aadhya','Krisha','Vedant','Parshv',
'Mittal','Archana'],
'Marks':[98,89,99,87,90,83,82],
}
df1=pd.DataFrame(dict1)
df1
------------------------------------------------------------------------------
If you enjoy these tutorials, like the video, and give it a thumbs up and also share these videos with your friends and families if you think these videos would help him.
Please consider clicking the SUBSCRIBE button to be notified of future videos.