You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was fixed with pull request #33, although it appears it has not reached pypi yet.
In the meantime, you can install latest version directly from this repository:
Activity
victorjourne commentedon Feb 7, 2019
I confirm, on a dataikuapi.dss.dataset.DSSDataset object, iter_rows() fails:
Error Traceback (most recent call last)
in
2 print(columns)
3 row_count = 0
----> 4 for row in dataset.iter_rows():
5 print(row)
6 row_count = row_count + 1
/opt/conda/lib/python3.6/site-packages/dataikuapi/utils.py in iter_rows(self)
83 delimiter='\t',
84 quotechar='"',
---> 85 doublequote=True):
86 yield [none_if_throws(caster)(val)
87 for (caster, val) in dku_zip_longest(casters, uncasted_tuple)]
Error: iterator should return strings, not bytes (did you open the file in text mode?)
Config:
victorjourne commentedon Feb 7, 2019
@FChataigner, did you install the package with pip?
install the latest version of dataikuapi with the setup.py, works now for me!
bandaangosta commentedon Apr 18, 2019
This was fixed with pull request #33, although it appears it has not reached pypi yet.
In the meantime, you can install latest version directly from this repository:
pip install git+https://github.com/dataiku/dataiku-api-client-python@master#egg=dataiku-api-clientankurc9 commentedon Aug 2, 2019
@bandaangosta, Thank you so much for the solution. It worked for me. However installing the latest version still does not resolve the problem.