Python Compiler With Matplotlib And Numpy Mean Function In R