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

Improve inplace params in Tabular's new and allow for new and test_dl to be in place #3292

Merged
merged 2 commits into from
Apr 30, 2021
Merged

Improve inplace params in Tabular's new and allow for new and test_dl to be in place #3292

merged 2 commits into from
Apr 30, 2021

Conversation

muellerzr
Copy link
Contributor

Adjusts the params in Tabular's new to include an inplace param for those that want to only use one copy in memory. Also included a test for this based on counting pd.DataFrame objects in memory.

This was then also brought up through to test_dl as well to properly pass in the inplace param.

Originally based on: #2858

Closes #2755

cc: @jph00

@muellerzr muellerzr requested a review from jph00 as a code owner April 2, 2021 02:22
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@hamelsmu
Copy link
Member

hamelsmu commented Apr 8, 2021

@jph00 this is ready for review

@jph00
Copy link
Member

jph00 commented Apr 30, 2021

Many thanks :)

@jph00 jph00 merged commit 3a978b5 into fastai:master Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to create TabularDataLoaders.test_dl() inplace
3 participants