Precision is the fraction of predicted positives events that are actually positive as shown below:

We can obtain the accuracy score from scikit-learn, which takes as inputs the actual labels and the predicted labels

from sklearn.metrics import precision_score
precision_score(df.actual_label.values, df.predicted_RF.values)

what would you do if one model was better at recall and the other was better at precision. One method that some data scientists use is called the F1 score.