Julia Dataframes vs Python pandas(Julia Dataframes 与 Python pandas )
问题描述
我目前正在使用 python pandas
并想知道是否有办法将 pandas 中的数据输出到 julia Dataframes
中,反之亦然.(我认为你可以用 Pycall
从 Julia 调用 python,但我不确定它是否适用于数据帧)有没有办法从 python 调用 Julia 并让它接收 panda
s 数据帧?(不保存为另一种文件格式,如 csv)
I am currently using python pandas
and want to know if there is a way to output the data from pandas into julia Dataframes
and vice versa. (I think you can call python from Julia with Pycall
but I am not sure if it works with dataframes) Is there a way to call Julia from python and have it take in panda
s dataframes? (without saving to another file format like csv)
什么时候使用 Julia Dataframes 比 Pandas 更有利,而不是非常大的数据集和运行具有许多循环的东西(如神经网络)?
When would it be advantageous to use Julia Dataframes than Pandas other than extremely large datasets and running things with many loops(like neural networks)?
推荐答案
所以有一个为此开发的库
So there is a library developed for this
PyJulia
是一个使用 Python 2 和 3 与 Julia 交互的库
PyJulia
is a library used to interface with Julia using Python 2 and 3
https://github.com/JuliaLang/pyjulia
这是实验性的,但有些工作
It is experimental but somewhat works
其次,Julia 还有一个 pandas
的前端,即 pandas.jl
Secondly Julia also has a front end for pandas
which is pandas.jl
https://github.com/malmaud/Pandas.jl
它看起来只是 pandas 的包装器,但您也许可以使用 julia 的并行功能执行多个功能.
It looks to be just a wrapper for pandas but you might be able to execute multiple functions using julia's parallel features.
至于哪个更好,目前 pandas
根据这个 在 Julia 中读取 csv 比 Python 慢
As for the which is better so far pandas
has faster I/O according to this reading csv in Julia is slow compared to Python
这篇关于Julia Dataframes 与 Python pandas 的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Julia Dataframes 与 Python pandas


基础教程推荐
- 在 Python 中将货币解析为数字 2022-01-01
- 在 Django Admin 中使用内联 OneToOneField 2022-01-01
- 比较两个文本文件以找出差异并将它们输出到新的文本文件 2022-01-01
- Kivy 使用 opencv.调整图像大小 2022-01-01
- Python,确定字符串是否应转换为 Int 或 Float 2022-01-01
- kivy 应用程序中的一个简单网页作为小部件 2022-01-01
- matplotlib 设置 yaxis 标签大小 2022-01-01
- 对多索引数据帧的列进行排序 2022-01-01
- 究竟什么是“容器"?在蟒蛇?(以及所有的 python 容器类型是什么?) 2022-01-01
- Python 中是否有任何支持将长字符串转储为块文字或折叠块的 yaml 库? 2022-01-01