[Python] Sort list of string numbers that are in a column of a data frame

Discussão em 'Python' iniciado por Stack, Fevereiro 12, 2025.

  1. Stack

    Stack Membro Participativo

    I have a data frame whose one column contains lists of number strings:

    Col1
    ['1']
    ['1']
    ['1','3','4']
    ['2','3','1','4','5']


    How can I sort this number? I have tried to adapt the answer given here.

    I would like to have a sorted list of integers instead of strings.

    Continue reading...

Compartilhe esta Página