[Python] how to choose certain amount of characters from a column in Python?

Discussão em 'Python' iniciado por Stack, Setembro 27, 2024.

  1. Stack

    Stack Membro Participativo

    for example, there is a column in a dataframe, 'ID'. One of the entries is for example, '13245993, 3004992' I only want to get '13245993'. That also applies for every row in column 'ID'. How to change the data in each row in column 'ID'?

    Continue reading...

Compartilhe esta Página