Spaces:
Sleeping
Sleeping
Commit
·
4d40aeb
1
Parent(s):
1093a00
- hugging_face_spaces.csv +0 -0
- test.py +4 -0
hugging_face_spaces.csv
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
test.py
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import pandas as pd
|
2 |
+
|
3 |
+
x = pd.read_csv('hugging_face_spaces.csv').sort_values('likes', ascending=False).iloc[:500]
|
4 |
+
x.to_csv('hugging_face_spaces.csv')
|