Python Forum
Panel Data Cleaning Drop Identity
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Panel Data Cleaning Drop Identity
#2
1. Please post what you have tried
2. Do you mean Pandas dataset? Not familiar with Panel
3. So all 4 of those rows would be dropped because 1993 is missing. That is odd enough there may not be a simple single command to do this. Suggest looping through the dataset and verifying criteria, dropping rows as needed
4. Alternatively, create a second dataset and only add rows to that dataset when the criteria are met. Build it up like this or delete it out as in 3.
Reply


Messages In This Thread
Panel Data Cleaning Drop Identity - by luxlambo - Jan-11-2020, 09:39 AM
RE: Panel Data Cleaning Drop Identity - by jefsummers - Jan-13-2020, 09:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cleaning a dataset: How to extract text between two patterns Palke 0 1,156 Mar-06-2023, 05:13 PM
Last Post: Palke
  Drop rows from data with zero value Devilish 3 3,744 Dec-27-2018, 02:06 AM
Last Post: Devilish

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020