DataFrame

版本 1.1.0.0 (35.4 KB) 作者: Nicholas
An object oriented table-like data structure, similar to Pandas DataFrame
974.0 次下载
更新时间 2015/8/17

Matlab impelementation of DataFrame/Pandas concept. I wanted to be able to customize the Matlab Table however I wanted, so I could extend the functionality. Plus, I find that Matlab's approach of having many functions floating around a bit hard to remember which functions you need for which data structures. Instead, I have wrapped the Matlab Table with a DataFrame class, which tries to stay out of the way as much as possible so we can leverage the Table as much as possible, while providing flexibility to extend it how we wish. Additionally, I have attached as methods to the DataFrame all of the existing functions that can operate on Tables, while providing some initial new ones. I'll likely add more methods over time to fill in where I see the Table lacking.
See the Github page for a basic walkthrough if its use. Please interact through Github for contributions/issues. I'll likely not check this page very often, if it all.
Use Cases:
One reason for doing this is that I'd like to show in the future how you could inherit from the generic DataFrame type, then perform type checking. So, if you require that an AddressBook table always be initialized with a name and address column, you could add that to a specialized subclass of DataFrame.

Note: There are some initial tests and example in the github repository.

引用格式

Nicholas (2024). DataFrame (https://github.com/rothnic/DataFrame), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2013b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Tables 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.1.0.0

Updated project name

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库