We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello!
Please if you can point me to where i can contribute and fix this, I would gladly contribute
When using describe
describe
Im getting {'name': 'test_array', 'type': 'string'}
{'name': 'test_array', 'type': 'string'}
instead of {'name': 'test_array', 'type': 'array', 'arrayItems': {'type': 'string'}}
{'name': 'test_array', 'type': 'array', 'arrayItems': {'type': 'string'}}
For a given test.csv with this content:
test.csv
id,name,test_array 1,foo,'["a", "b", "c"]' 2,bar,'["d", "e", "f"]'
"['a', 'b', 'c']"
and the following code
from pprint import pprint from frictionless import describe resource = describe('test.csv') pprint(resource)
{'name': 'test', 'type': 'table', 'path': 'test.csv', 'scheme': 'file', 'format': 'csv', 'mediatype': 'text/csv', 'encoding': 'utf-8', 'dialect': {'csv': {'skipInitialSpace': True}}, 'schema': {'fields': [{'name': 'id', 'type': 'integer'}, {'name': 'name', 'type': 'string'}, {'name': 'test_array', 'type': 'string'}]}}
{'name': 'test', 'type': 'table', 'path': 'test.csv', 'scheme': 'file', 'format': 'csv', 'mediatype': 'text/csv', 'encoding': 'utf-8', 'dialect': {'csv': {'skipInitialSpace': True}}, 'schema': {'fields': [{'name': 'id', 'type': 'integer'}, {'name': 'name', 'type': 'string'}, {'name': 'test_array', 'type': 'array', 'arrayItems': {'type': 'string'}}]}}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello!
Please if you can point me to where i can contribute and fix this, I would gladly contribute
Summary
When using
describe
Im getting
{'name': 'test_array', 'type': 'string'}
instead of
{'name': 'test_array', 'type': 'array', 'arrayItems': {'type': 'string'}}
Description
Setup
For a given
test.csv
with this content:"['a', 'b', 'c']"
in the csv, didnt work eitherand the following code
Actual
Expected
The text was updated successfully, but these errors were encountered: