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.
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 (2021). DataFrame (https://github.com/rothnic/DataFrame), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!