[Python] Extracting information from a descriptive "sentence" to create a new variable in...

Discussão em 'Python' iniciado por Stack, Maio 27, 2025.

  1. Stack

    Stack Membro Participativo

    I'm working on my Master's thesis using the ACLED conflict dataset and have run into a challenge where I'd appreciate your input.

    I need to create a new variable that identifies the initiator of each conflict event – specifically, whether it was triggered by national forces or a terrorist group. The 'notes' column in the dataset contains narrative descriptions that clearly indicate the initiator.

    With over 10,000 rows, manually coding this is impractical. I'm looking for suggestions on how to approach this, potentially using text analysis techniques or code, to automatically parse the 'notes' column and populate this new variable.

    Has anyone tackled a similar problem or could offer some guidance?

    Continue reading...

Compartilhe esta Página