-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API change: Transformer.transform_iter() returns an iter-dict generat…
…or (#481) (1). .transform_iter() takes and returns an iterable of dicts generator, rather than a DataFrame (2) As a consequence of (1), .__call__() takes and returns an iter-dict, takes and returns a iter-dict genetor, OR takes and returns a DataFrame. (3) Implementers need only implement .transform() OR .transform_iter(). .__call__() redirects based the type of the input. default implementation is to call .transform_iter() (and vice versa). (4) Add an easy to remember kwarg for pt.apply to take iter-dicts (iter=True). Co-authored-by: Sean MacAvaney
- Loading branch information
1 parent
e94b29c
commit f8e47fb
Showing
13 changed files
with
764 additions
and
255 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
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
Oops, something went wrong.