R的ggplot2有Python API吗? [英] Is there a Python API for R's ggplot2?

查看:96
本文介绍了R的ggplot2有Python API吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题与标题一样简单:我想使用 R ggplot2 ,但是我所有的数据处理是在 Python 中完成的:是否有一个用于 ggplot2 的Python API,或者使用 ggplot2 Python

My question is as simple as the title: i want to use R's ggplot2 but all my data handling is done in Python: is there a Python API for ggplot2, or an easy way to use ggplot2 through Python ?

推荐答案

RPy 允许您从Python调用R并提供数据转换实用程序。你可以用图形包使用ggplot2函数,看看这个部分提供了一些示例

RPy allows you to call R from Python and provides with data conversion utilities. You can use ggplot2 function with the Graphics package, look at this section for some examples.

这篇关于R的ggplot2有Python API吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆