Delete Rows From Pandas Dataframe

Publicado el: 10 febrero 2022
en el canal de: Python In Office
3,256
14

In this video, we will be learning how to delete rows from a pandas dataframe.

🐍🐍🐍Text version of the tutorial🐍🐍🐍
https://pythoninoffice.com/delete-row...

🐍🐍🐍Code to make the example dataframe🐍🐍🐍
import pandas as pd

df = pd.DataFrame({'User Name':['Forrest Gump','Mary Jane','Harry Porter','Jean Grey', 'Jean Grey','Mary Jane'],
'Country':['USA','CANDA','UK','CHINA','CANDA','CANDA'],
'City': ['New York','Toronto','London','Shanghai','Montreal','Toronto'],
'Gender':['M','F','M','F','F','F'],
'Age':[50,30,10,30,30,30] })
df.set_index('User Name', inplace=True)


En esta página del sitio puede ver el video en línea Delete Rows From Pandas Dataframe de Duración hora minuto segunda en buena calidad , que subió el usuario Python In Office 10 febrero 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 3,256 veces y le gustó 14 a los espectadores. Disfruta viendo!