Skip to content

add to_list method to the Table class. #436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ankitraut
Copy link

Issue #, if available: Issue

Description of changes:
Added a private(intermediate) method called _process_table, which pretty much retains the code from to_pandas.
Using this new method created to_list method and refactored to_pandas method.

This change provides an easy to_list method to get the table into a list of rows, which having to use pandas as a dependency (which can add ~80 MB against the AWS Lambda's 250 MB limit).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Refactor to_pandas method to use _process_table method
Refactor to_pandas method to use _process_table method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant