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

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

问题描述

我的问题和标题一样简单:我想使用 Rggplot2 但我所有的数据处理都是在 Python 中完成的: 是否有用于 ggplot2 的 Python API,或者通过 Python 使用 ggplot2 的简单方法?

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 并提供数据转换实用程序.你可以在图形包中使用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天全站免登陆