Slice pandas DataFrame by Index in Python (Example) | Split at Particular Row | How to Divide Data

Slice pandas DataFrame by Index in Python (Example) | Split at Particular Row | How to Divide Data

Statistics Globe

1 год назад

2,137 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@MrPelastus
@MrPelastus - 11.12.2022 13:53

Thanks for the video. This helped me solve a problem with my script.

Ответить
@pavankumarsapta1593
@pavankumarsapta1593 - 08.11.2022 16:59

hey hi, i have an python script for querying a database and get output. now in my output using dataframe 4 rows 6 columns. for 1st coloumn of data belongs 1 person of 2 rows and other rows of data belongs to other person. now if want to send a 1st person data which is first 2 rows and 2nd person of data the other rows. how can i divide and send and how to put condition to match for if 1st rows of 1st columns having X name and other rows of the same column Y name. please help

Ответить