0

df =

A B C D E F

0 1 4 7 10 13 16

1 2 5 8 11 14 17

2 3 6 9 12 15 18

I need two spaces between columns, and I need the last column 'F' to be far-right, using Pandas.

  • You already asked this question, and in the current state it is not intelligible what you want to do. You're having a [XY problem here](https://en.wikipedia.org/wiki/XY_problem) you should rather ask what you really want to achieve with a cleat input/output – mozway Mar 08 '22 at 09:08
  • The question I asked yesterday did not get good answers – Elsaid Sami Elsaid Mohamed Mar 08 '22 at 09:17
  • Then it was probably not a good question ;) [how to ask](https://stackoverflow.com/help/how-to-ask) – mozway Mar 08 '22 at 09:18
  • You gave me answers yesterday, I guess you know what is the problem...Using biopandas and numpy.savetext(file, fmt) do not work – Elsaid Sami Elsaid Mohamed Mar 08 '22 at 09:27

0 Answers0