read_csv() restarts index (if not loaded) at every chunk #12185

Closed
toobaz opened this Issue Jan 30, 2016 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

toobaz commented Jan 30, 2016

See this comment. Basically we now have

In [8]: read_csv(StringIO(u'A,B\n1,2\n3,4'))
Out[8]: 
   A  B
0  1  2
1  3  4

but

In [9]: concat(read_csv(StringIO(u'A,B\n1,2\n3,4'), chunksize=1))
Out[9]: 
   A  B
0  1  2
0  3  4

We want the latter to also have index (0,1).

toobaz changed the title from ``read_csv`` restarts index (if not loaded) at every chunk to read_csv() restarts index (if not loaded) at every chunk Jan 30, 2016

jreback added this to the Next Major Release milestone Jan 30, 2016

@jreback jreback modified the milestone: 0.19.0, Next Major Release Jul 29, 2016

jreback closed this in 5b0d947 Jul 29, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment