DataFrame

Version 1.1.0.0 (35,4 KB) von Nicholas
An object oriented table-like data structure, similar to Pandas DataFrame
964 Downloads
Aktualisiert 17. Aug 2015

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.

Zitieren als

Nicholas (2024). DataFrame (https://github.com/rothnic/DataFrame), GitHub. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2013b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden

Version Veröffentlicht Versionshinweise
1.1.0.0

Updated project name

Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.