[Tutor] Feedback on Script for Pandas DataFrame Written into XML
Martin A. Brown
martin at linux-ip.net
Mon Mar 30 17:57:36 CEST 2015
Good morning again, Saran,
> I have attached a .html file (I would recommend downloading this
> first and then opening the file), and my .py script. Here is the
> data <https://github.com/ahlusar1989/IntroToPython/blob/master/cables_tiny.csv>.
>
> My function (included in the prior message) and my schema is based
> off of my interpretation that each row of the DataFrame is a
> message and each field is within the message.
>
> Each column's index and its corresponding field is nested within
> each message (for example "date"). I gave this hypothetical
> example as one can see one of the columns includes a
> data/timestamp of a correspondence. My question is as follows:
>
> 1. I this the correct translation/interpretation of the data set?
I do not know. Who is the author of IntroToPython? Can you ask
this person?
> Or am I over thinking the schema and interpretation of the
> DataFrame?
For understanding and using a DataFrame, you'd probably be better
off asking on the pandas mailing list.
>> ... or maybe the Pandas mailing list:
>>
>> https://groups.google.com/forum/#!forum/pydata
May the Python never release you from its grip!
-Martin
--
Martin A. Brown
http://linux-ip.net/
More information about the Tutor
mailing list