Python Forum
Transposing a dataframe without creating NaN values
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transposing a dataframe without creating NaN values
#2
It important to be precise. If your data is in a file as provided then you could not get desired output. File has 11 rows.

Other than that - please provide your code.
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Messages In This Thread
RE: Transposing a dataframe without creating NaN values - by perfringo - Mar-18-2023, 07:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Creating a loop with dynamic variables instead of hardcoded values FugaziRocks 3 2,482 Jul-27-2022, 08:50 PM
Last Post: rob101
  Creating a numpy array from specific values of a spreadsheet column JulianZ 0 1,712 Apr-19-2022, 07:36 AM
Last Post: JulianZ
  List of dataframe values beginning with x,y or z glidecode 3 2,746 Nov-08-2021, 10:16 PM
Last Post: glidecode
  How to sort values descending from a row in a dataframe using python sankarachari 1 1,986 Aug-16-2021, 08:55 AM
Last Post: jamesaarr
  How to get value in Dataframe given row & column values? moonlight 1 3,098 Apr-26-2021, 09:30 PM
Last Post: Larz60+
  Xlsxwriter: Create Multiple Sheets Based on Dataframe's Sorted Values KMV 2 4,951 Mar-09-2021, 12:24 PM
Last Post: KMV
  Dataframe extract key values danipyth 0 2,143 Feb-07-2021, 03:52 PM
Last Post: danipyth
  Assigning Column nunique values to another DataFrame column Pythonito 1 2,489 Jun-26-2020, 06:52 AM
Last Post: hussainmujtaba
  Do Calculation between Rows based on Column values - Pandas Dataframe ahmedwaqas92 0 2,597 Jan-28-2020, 07:06 AM
Last Post: ahmedwaqas92
  Creating a new DataFrame from another DataFrame column Ilangos 1 2,692 Jun-05-2019, 09:47 AM
Last Post: Ilangos

Forum Jump:

User Panel Messages

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