Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
|
3 |
|
4 |
#!pip install pandas
|
|
|
5 |
# Importa pandas y m3u8
|
6 |
import pandas as pd
|
7 |
import m3u8
|
@@ -22,4 +23,5 @@ with open('https://huggingface.co/spaces/LuisFlow/m3utoexcel/resolve/main/Person
|
|
22 |
excel_file = 'https://huggingface.co/spaces/LuisFlow/m3utoexcel/resolve/main/exportado.xlsx'
|
23 |
|
24 |
# Exporta los campos que deseas a un archivo de Excel
|
25 |
-
df[['campo1', 'campo2', 'campo3']].to_excel('excel_file'
|
|
|
|
2 |
|
3 |
|
4 |
#!pip install pandas
|
5 |
+
!pip install m3u8
|
6 |
# Importa pandas y m3u8
|
7 |
import pandas as pd
|
8 |
import m3u8
|
|
|
23 |
excel_file = 'https://huggingface.co/spaces/LuisFlow/m3utoexcel/resolve/main/exportado.xlsx'
|
24 |
|
25 |
# Exporta los campos que deseas a un archivo de Excel
|
26 |
+
df[['campo1', 'campo2', 'campo3']].to_excel('excel_file'
|
27 |
+
, index=False)
|