Skip to content

Series.repeat does not do the right thing #1229

@wesm

Description

@wesm
In [4]: Series(np.array([tm.rands(10) for _ in xrange(10)], dtype='O'))
Out[4]: 
0    uU7IsfsSR0
1    8so3eV8AAA
2    ITSfW3Ce68
3    WNDTb9pMg0
4    FCmWYJyWri
5    70hQk6Hy4b
6    19gZtoizil
7    CTvpYNkem8
8    rMZijLdFL9
9    yVd35ga8Ap

In [5]: Series(np.array([tm.rands(10) for _ in xrange(10)], dtype='O')).repeat(10)
Out[5]: 
0    oP0SHbkuc5
1    oP0SHbkuc5
2    oP0SHbkuc5
3    oP0SHbkuc5
4    oP0SHbkuc5
5    oP0SHbkuc5
6    oP0SHbkuc5
7    oP0SHbkuc5
8    oP0SHbkuc5
9    oP0SHbkuc5
Length: 100

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions