0

lets say I have a data frame with 3 columns and 6 rows. I want the final dataframe (table_df) to have some index values as empty of nan in data frame, just like index 0 and 4 are not there in the data frame given below .

table_df:

  '0'  FName  LName  Age 

0     Shrey  madan  20
1  1. Priya  Sinha  21
2  2. Ankit  Gupta  20
3  3. Shiva  Ahuja  21
4     Neha   Raj    21
5  5. Tuba   Alvi   22
6  6. Pakhi  Singh  21
codette
  • 45
  • 5

0 Answers0