-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
create a community supported set of typical converters for read_csv #1180
Comments
OK, I assume that this is not core Pandas stuff. So we could have a separate pandas.contrib package. There users could upload their converters along with a sample data file. The converters may then be documented in proper docstrings. I did this for sckits.timeseries.tsfromtxt. and it worked quite well. What do you think? |
I think this is a great idea. We hope to make an announcement about this once v0.8 is released and the API is stable. In the mean time, would you be interested in taking the lead and create pandas/io/converters.py with a some docs and a few sample converters? Further feedback on the converter API/interface would be greatly appreciated. |
Here an example (still for tsfromtxt):
|
It seems to me like this wiill either stagnate or grow into a melange of tailored I don't think users will look for these recipes when they encounter these problems The idea of a pandas.contrib is interesting in itself, not clear conception of that project closing. |
@y-p |
Unfortauntely, nearly no input data file uses ISO format but rather random columns and formats.
Following
https://groups.google.com/forum/?fromgroups#!topic/pydata/pZjQMX_avmY
and
#854
I would suggest to insert:
https://github.com/pydata/pandas/tree/master/pandas/tseries/converters.py
Where users could contribute/share typical converters for getting their date and times parsed into a pandas object from input.
The text was updated successfully, but these errors were encountered: