Style the first few rows of cells (gold silver bronze, first 2nd 3rd etc)

#10
Hugging Face Discord Community org

Apply style to the first rows in the dataframe as described in #7. It should look something like this
Screenshot 2024-02-19 at 22.30.41.png

@lunarflu is this what you had in mind?

The changes are test only on a dummy example since I couldn't run the bot locally. Is it possible to easily run it without the keys locally?

Hugging Face Discord Community org

Oops, my auto-formatter went crazy. Can I easily update the file or should I close the PR and open a new one?

Hugging Face Discord Community org

Sorry for the noise. Solved the auto-formatting issue and force-updated the PR

Hugging Face Discord Community org

Thanks @vladbogo ! Is it possible to make it a bit less strong? (that way the text can still be visible)

Hugging Face Discord Community org

@lunarflu sure, I’ll make some adjustments, but only next week

Hugging Face Discord Community org

@lunarflu I toned down the intensities. Let me know what you think!
Screenshot 2024-04-01 at 20.10.52.png
Screenshot 2024-04-01 at 20.11.24.png

lunarflu changed pull request status to merged
Hugging Face Discord Community org

Thanks for the update! Seems to have some issues when we test, can you verify @vladbogo ?

Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3805, in get_loc
return self._engine.get_loc(casted_key)
File "index.pyx", line 167, in pandas._libs.index.IndexEngine.get_loc
File "index.pyx", line 196, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 2606, in pandas._libs.hashtable.Int64HashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 2630, in pandas._libs.hashtable.Int64HashTable.get_item
KeyError: 0

Hugging Face Discord Community org

@lunarflu I'll try to see why it fails for you

Sign up or log in to comment