Skip to content
This repository was archived by the owner on May 22, 2019. It is now read-only.

Fix a missing argument (series) to the call of the save function#399

Open
Jan21 wants to merge 2 commits intosrc-d:masterfrom
Jan21:fix-bow-writer-save
Open

Fix a missing argument (series) to the call of the save function#399
Jan21 wants to merge 2 commits intosrc-d:masterfrom
Jan21:fix-bow-writer-save

Conversation

@Jan21
Copy link

@Jan21 Jan21 commented Mar 29, 2019

Signed-off-by: Jan Hula jan.hula21@gmail.com

Signed-off-by: Jan Hula <jan.hula21@gmail.com>
BOW() \
.construct(docs, tokens, matrix) \
.save(filename, deps=(self.df,))
.save(filename, series="Bow", deps=(self.df,))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should require "series" argument in __init__, because BowWriter is an implementation of writing the model and it cannot know the specific from the inside.

Signed-off-by: Jan Hula <jan.hula21@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants