Ad
  • Custom User Avatar

    The task says "Input DataFrame will never be empty. "
    But one of the tests is with empty input:

    Empty DataFrame
    Columns: []
    Index: []
    
    Should be
    
    Empty DataFrame
    Columns: []
    Index: [0, 1, 2, 3, 4]
    

    Why is that?

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    My goodness! I've just joined Codewars, and it seems that the most challenging aspect so far is understanding the task. There are so many terribly written instructions! Katas like that should come with a bonus for deciphering the author's intended message.

    No offence, but please, consider checking the text with ChatGPt or smth before posting. There are many users for whom english is not their first language.