The identification of drug-induced cardiotoxicity remains a pressing challenge with far-reaching clinical and economic ramifications, often leading to patient harm and resource-intensive drug recalls. Current methodologies, including in vivo and in vitro models, have severe limitations in accurate identification of cardiotoxic substances. Pioneering a paradigm shift from these conventional techniques, our study presents two deep learning-based frameworks, STFT-CNN and SST-CNN, to assess cardiotoxicity with markedly improved accuracy and reliability. Leveraging the power of induced pluripotent stem cell-derived cardiomyocytes (iPSC-CMs) as a more human-relevant cell model, we record mechanical beating signals through impedance measurements. These temporal signals were converted into enriched two-dimensional representations through advanced transformation techniques, specifically short-time Fourier transform (STFT) and synchro-squeezing transform (SST). These transformed data are fed into the proposed frameworks for comprehensive analysis, including drug type classification, concentration classification, cardiotoxicity classification, and new drug identification. Compared to traditional models like recurrent neural network (RNN) and 1-dimensional convolutional neural network (1D-CNN), SST-CNN delivered an impressive test accuracy of 98.55% in drug type classification and 99% in distinguishing cardiotoxic and noncardiotoxic drugs. Its feasibility is further highlighted with a stellar 98.5% average accuracy for classification of various concentrations, and the superiority of our proposed frameworks underscores their promise in revolutionizing drug safety assessments. With a potential for scalability, they represent a major leap in drug safety assessments, offering a pathway to more robust, efficient, and human-relevant cardiotoxicity evaluations.