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

init the NielsenReader class with a string not a Path object #1

Open
mgckind opened this issue Aug 8, 2024 · 1 comment
Open

init the NielsenReader class with a string not a Path object #1

mgckind opened this issue Aug 8, 2024 · 1 comment

Comments

@mgckind
Copy link
Collaborator

mgckind commented Aug 8, 2024

Currently the class takes a Path object instead of a string

import pathlib as path
from NielsenDSRS import NielsenRetail
path_file = path.Path('path_string')
NR = NielsenRetail(path_file) 

The class should be direct and just 2 lines:

from NielsenDSRS import NielsenRetail
NR = NielsenRetail(path_string) # path being a string
@mgckind
Copy link
Collaborator Author

mgckind commented Aug 8, 2024

Instead of initiating the class with 4 lines, it should be only 2 lines as shown

mgckind added a commit that referenced this issue Aug 8, 2024
Maybe this will help with #1
@mgckind mgckind mentioned this issue Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant