list = [a, b, c, d, e, f, g, h]
How to write and loop the above list on a specific column in python dataframe, so that the outcome will be ...
Dataframe:
Column N (For example)
a
b
c
d
e
f
g
h
a
b
c
d
e
f
g
h
...
(many times)
...
a
b
c
d
e
f
g
h
Or, is there any other way to perform the transformation above without the need of using a list? Thank you very much.
listitertools.cycle