Ad
  • Default User Avatar

    I think my code is returning the right output but I'm failing some of the random test cases on "column data types" - despite all the column data types matching. What I wrote passes the sample test, but also returns the columns in alphabetical order (as it is in the problem description). However, many of the random test cases appear to be in some other order?

    Example fail message:

    Column types are different:

    C float64
    F float64
    H float64
    dtype: object

    Should be

    H float64
    C float64
    F float64
    dtype: object