A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/19 below:

parseCSV on result of toCSV does not preserve index type · Issue #19 · pandas-dev/pandas · GitHub

From Google Code: http://code.google.com/p/pandas/issues/detail?id=14

First of all, thanks very much for this very nice project. I find it extremely useful.

I ran into a very minor issue:

What steps will reproduce the problem?

  1. Create a DataFrame with date objects in the index
  2. Write to csv using toCSV method
  3. Read DataFrame using parseCSV method

What is the expected output? What do you see instead?
I had hoped that the index of the parsed DataFrame would
consist of date objects, instead they are strings.

What version of the product are you using? On what operating system?
Trunk, revision 202. Ubuntu 10.10

Please provide any additional information below.
The reason is that toCSV writes the first column header as "index"
If it were to leave it blank, things work as I expect.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4