Python Forum
Reshaping a single column in to multiple column using Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reshaping a single column in to multiple column using Python
#6
I have found a strange thing. If i add one more row in my column, the same code performs as intended.
Image
Please note now I have 31 rows. To me it seems that something has to do with indexing.
Reply


Messages In This Thread
RE: Reshaping a single column in to multiple column using Python - by sahar - Jun-20-2022, 08:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  adding a calculated column charles986 1 170 Jun-13-2024, 05:31 PM
Last Post: deanhystad
  adding a calculated column charles986 1 174 Jun-13-2024, 02:27 PM
Last Post: deanhystad
  Adding PD DataFrame column bsben 2 468 Mar-08-2024, 10:46 PM
Last Post: deanhystad
  Get an average of the unique values of a column with group by condition and assign it klllmmm 0 571 Feb-17-2024, 05:53 PM
Last Post: klllmmm
  Help copying a column from a csv to another file with some extras g0nz0uk 3 626 Feb-01-2024, 03:12 PM
Last Post: DeaD_EyE
  Converting column of values into muliple columns of counts highland44 0 383 Feb-01-2024, 12:48 AM
Last Post: highland44
  Python code to set column width 1418 11 1,996 Jan-20-2024, 07:20 AM
Last Post: Pedroski55
  Python Alteryx QS-Passing pandas dataframe column inside SQL query where condition sanky1990 0 857 Dec-04-2023, 09:48 PM
Last Post: sanky1990
  python convert multiple files to multiple lists MCL169 6 1,832 Nov-25-2023, 05:31 AM
Last Post: Iqratech
  Returning Column and Row Data From Spreadsheet knight2000 0 532 Oct-22-2023, 07:07 AM
Last Post: knight2000

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020