Skip to content
This repository has been 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
wants to merge 2 commits into
base: master
Choose a base branch
from

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>
@@ -79,7 +79,7 @@ def __call__(self, head: RDD):
filename = self.get_bow_file_name(self.filename, i)
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.

None yet

3 participants