Skip to content

Commit

Permalink
url
Browse files Browse the repository at this point in the history
  • Loading branch information
tricktx committed Sep 21, 2023
1 parent b1a3dce commit a848459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelines/datasets/br_stf_corte_aberta/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ def make_partitions(df):
def check_for_data():
web_scrapping()

arquivos = os.listdir("url")
arquivos = os.listdir(stf_constants.STF_INPUT.value)
for arquivo in arquivos:
if arquivo.endswith(".csv"):
df = pd.read_csv("url" + arquivo, dtype=str)
df = pd.read_csv(stf_constants.STF_INPUT.value + arquivo, dtype=str)

df["Data da decisão"] = df["Data da decisão"].astype(str).str[0:10]
data_obj = df["Data da decisão"] = (
Expand Down

0 comments on commit a848459

Please sign in to comment.