Prostate cancer is one of the most alarming diseases among men and leads to various illnesses. The main flaw in this disease is that there is not a single test that can find it. Prostate-specific antigens and prostate biopsies are used to identify this type of cancer. Many pharmaceutical industries do active research to identify non-steroidal drugs that can be used to treat prostate cancer effectively. QSPR analysis is one of the best practices that aid scientists in getting a deep insight into the physico-chemical properties of drugs without actually performing experiments in a wet lab, thereby cutting down on the cost of manufacturing such drugs. In this article, we perform a QSPR analysis of nineteen drugs primarily used to treat prostate cancer by using a set of ten degree-based indices and another set of ten novel neighbourhood-degree-based indices. In addition, we have done a comparative study of the findings obtained through these two different sets of indices over thirteen physico-chemical properties of prostate cancer drugs.