Skip to content
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

Series.repeat does not do the right thing #1229

wesm opened this issue May 12, 2012 · 0 comments


Copy link

commented May 12, 2012

In [4]: Series(np.array([tm.rands(10) for _ in xrange(10)], dtype='O'))
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)
0    oP0SHbkuc5
1    oP0SHbkuc5
2    oP0SHbkuc5
3    oP0SHbkuc5
4    oP0SHbkuc5
5    oP0SHbkuc5
6    oP0SHbkuc5
7    oP0SHbkuc5
8    oP0SHbkuc5
9    oP0SHbkuc5
Length: 100

@wesm wesm closed this in 73661c1 May 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.