File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def read_file_csv(self):
2828 """
2929 start_range , end_range = self .num_range .split ("_" )
3030 cui0 = pd .read_csv (self .file_read , encoding = "latin-1" )
31- cui1 = cui0 ["cui" ][int (start_range ): int (end_range )]
31+ cui1 = cui0 ["cui" ][int (start_range ) : int (end_range )]
3232 list_cui = list (map (str , cui1 .values .tolist ()))
3333 print (f"El total de CUIs a scrapear es: { len (list_cui )} " )
3434 return list_cui
@@ -41,7 +41,7 @@ def read_file_xlsx(self):
4141 """
4242 start_range , end_range = self .num_range .split ("_" )
4343 cui0 = pd .read_excel (self .file_read , encoding = "latin-1" )
44- cui1 = cui0 ["cui" ][int (start_range ): int (end_range )]
44+ cui1 = cui0 ["cui" ][int (start_range ) : int (end_range )]
4545 list_cui = list (map (str , cui1 .values .tolist ()))
4646 print (f"El total de CUIs a scrapear es: { len (list_cui )} " )
4747 return list_cui
Original file line number Diff line number Diff line change 1- from sisedeinversiones .lista_ejecucion .lista_ejecucion_simple import \
2- ScrapingListaEjecucion
1+ from sisedeinversiones .lista_ejecucion .lista_ejecucion_simple import (
2+ ScrapingListaEjecucion ,
3+ )
34
45file_read = "tests/test_CUI_2019_dep7.csv"
56path_export = "tests"
You can’t perform that action at this time.
0 commit comments