python - Python 中 Matlab 单元格数据结构的替代方案

标签 python matlab data-structures cell

我有一个 Matlab 元胞数组,每个元胞包含一个 N x M 矩阵。 M 的值因单元格而异。

使用 numpy 或任何标准 Python 数据结构在 Python 中表示此类结构的有效方法是什么?

最佳答案

您是否考虑过 numpy.array 的列表?

关于python - Python 中 Matlab 单元格数据结构的替代方案,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16689681/

相关文章:

c++ - Rapidjson::Type 的切换大小写

java - 字典的数据结构

python - 为什么现在还有 "commands out of sync; you can' t run this command”错误

python - 尴尬的 python 类行为?

python - 使用 PyGTK 进行线程化

matlab - 如何使用 syntastic 和 ycm 检查 vim 中的非 c 文件而不保存它们?

java - Java-Matlab 接口(interface)背后的历史是什么?

python - 将类添加到 django 管理字段的快速方法?

matlab - 动态调整自定义滴答数

list - 什么是 DList?