Fix: Handle empty dataframes and add validation for all inputs 7917bda rishirajpathak commited on Jan 11