I would like to expand and replicate rows and columns multiple times (30 times) in a pandas DataFrame, which has 36 columns and 28 rows. Thus the result should be a 1.080 x 840 matrix.
Example:
ARG BRA BRN
AUS 2.93 3.06 3.56
AUT 5.36 5.47 2.14
BEL 5.36 5.47 2.14
Result should be:
ARG ARG BRA BRA BRN BRN
AUS 2.93 2.93 3.06 3.06 3.56 3.56
AUS 2.93 2.93 3.06 3.06 3.56 3.56
AUT 5.36 5.36 5.47 5.47 2.14 2.14
AUT 5.36 5.36 5.47 5.47 2.14 2.14
BEL 5.36 5.36 5.47 5.47 2.14 2.14
BEL 5.36 5.36 5.47 5.47 2.14 2.14
Is there a simple way to do so? Thank you in advance!