Domain adaptation (DA) is a well-established method to tackle the transfer diagnosis of rotating machinery. However, current DA methods encounter challenges in partial-set transfer diagnosis scenarios, where the target domain only possesses a subset of the source fault classes, due to several limitations: (1) assuming identical fault classes between the target and source domains, (2) neglecting the fine-grained differences among individual instances, and (3) lacking interpretability for transfer logic. To address these problems, this paper proposes an attention-guided partial domain adaptation (AGPDA) method for interpretable transfer diagnosis of rotating machinery. Firstly, to exclude outlier classes in the source domain, a transferability evaluator is presented to evaluate the potential benefits of source instances for domain alignment. Secondly, a novel cross-domain attention (CDA) mechanism is further developed, which leverages instance-wise attention to highlight relevant samples, enabling differentiated and effective knowledge transfer to various target samples. Finally, the CDA mechanism is implemented via a new interpretable linear cosine attention, which is specially designed to facilitate the exploration of the transfer logic. Comparison experiments demonstrate the superiority of AGPDA in both closed-set and partial-set transfer diagnosis. Furthermore, dual-perspective visualization of CDA reveals that target fault recognition primarily relies on source samples in the same class.