Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
This clever solution shows the need of random test cases.
This clever solution shows the need of random test cases.
This comment is hidden because it contains spoiler information about the solution
I marked it as clever because I think that the goals of the kata is implement something to cache the function calls, aren't use a something already implemented.
I finished the kata now and had the same problem, it's not clear what "same nesting structures" means, because all the description examples uses integer values as nested structure, so makes sense to think that "same structure" are values of the same type. Do you agree?
Marking as resolved...
Marking as resolved...
The tests check if the function converted words with upper case letter to lower case, for example, an string "hello codeWars" should be "#HelloCodewars". This behavior of the tests aren't explicity said in the kata description. I think that the description must have this information.
I added it. Thanks for the attention.
I had rewrite the tests using the convention. Can you check it?
The only difference is because they write the
it
block inside an function, as a decorator. I will do it, thanks!Error messages writed, can you check it?
In this situation, the function should return an empty dataframe too. I added this assertation:
So, I think that this is solved. Thanks!
In this point You're right. Because I do this:
Which can be a problem because
add_virtual_column
can affect the value ofdf_expected
. Now I change the order of the statements:Now it can't affect
df_expected
. This solve the problem, did it?Loading more items...