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

Please add YAML front matter block support for pandas.io.parsers.read_csv #9613

Closed
jrovegno opened this issue Mar 8, 2015 · 5 comments
Closed

Comments

@jrovegno
Copy link

@jrovegno jrovegno commented Mar 8, 2015

Github show me how cool can be use YAML front matter blocks, and now I want to use them to put metadata in my datasets, this must be the new standard. It's easy, human readable and simple.

File example of the format
https://raw.githubusercontent.com/jrovegno/csvy/master/data.csvy

Regards

Javier

@jreback
Copy link
Contributor

@jreback jreback commented Mar 8, 2015

is this a defined (meaning regular / standard type of format)? is it always detectable via the '---'?

@jrovegno
Copy link
Author

@jrovegno jrovegno commented Sep 2, 2015

I am developing a draft specification of the file format
http://jrovegno.github.io/csvy/

@jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented Jul 14, 2018

Has this format caught on since the OP?

@janosh
Copy link
Contributor

@janosh janosh commented Jul 27, 2020

Doesn't seem to have caught on much since 2015 but I think it's a cool idea.

@mroeschke
Copy link
Member

@mroeschke mroeschke commented Aug 8, 2021

Thanks for the suggestion, but it looks like this format hasn't taken off and probably not suitable for pandas proper. Ideally, an external library can parse the YAML format into python objects from which pd.DataFrame can ingest. Closing.

@mroeschke mroeschke closed this Aug 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants