-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an option to not copy columns when constructing a TSFrame (#142)
* Add a kwarg `copycols=true` to TSFrame This allows the user to tell TSFrames whether they want the columns of the input to be copied or not. With this and `issorted`, one can construct a TSFrame with almost no overhead. This feature is required for the join functions to have performance comparable to R. * Use copy not deepcopy * Remove the last invocation of deepcopy * Fix tests It looks like the sorting order was changed, so we just check if the setdiff is empty here. * Fix order of index in TSFrame * Revert changes by removing hack in TSFrames * Try to add the efficient path back
- Loading branch information
1 parent
61b2933
commit 305267d
Showing
2 changed files
with
56 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters