cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
AT
AT
Level V

Delete rows of an empty column

I like to delete the rows of a table when a colum is empty. Here is the script:

dt = Current Data Table();

dt << select where (:A == ""));

dt << delete rows;

 

No rows gets deleted. Please help. Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
cwillden
Super User (Alumni)

Re: Delete rows of an empty column

try dt << Select Where(Is Missing(:A)); 


This works for character and numeric data types.

-- Cameron Willden

View solution in original post

2 REPLIES 2
cwillden
Super User (Alumni)

Re: Delete rows of an empty column

try dt << Select Where(Is Missing(:A)); 


This works for character and numeric data types.

-- Cameron Willden
AT
AT
Level V

Re: Delete rows of an empty column

Thanks for quick reply. It works fine now.

Recommended Articles