Skip to content
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

Implement DataTable.__sizeof__ #401

Merged
merged 3 commits into from Nov 17, 2020
Merged

Implement DataTable.__sizeof__ #401

merged 3 commits into from Nov 17, 2020

Conversation

thehomebrewnerd
Copy link
Contributor

This PR implements DataTable.sizeof which returns the total size in bytes used by the object, including the size of the underlying dataframe.

@codecov
Copy link

codecov bot commented Nov 17, 2020

Codecov Report

Merging #401 (1bd8875) into main (12657ea) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #401   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           31        31           
  Lines         3805      3813    +8     
=========================================
+ Hits          3805      3813    +8     
Impacted Files Coverage Δ
woodwork/datatable.py 100.00% <100.00%> (ø)
woodwork/tests/datatable/test_datatable.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 12657ea...1bd8875. Read the comment docs.

@thehomebrewnerd thehomebrewnerd merged commit 0a351d6 into main Nov 17, 2020
@thehomebrewnerd thehomebrewnerd deleted the dt-sizeof branch November 17, 2020 21:58
@gsheni gsheni mentioned this pull request Nov 30, 2020
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.

Add __sizeof__ to DataTable
2 participants