Skip to content

Commit 46681f2

Browse files
committed
Format code using ruff
1 parent d18c812 commit 46681f2

3 files changed

Lines changed: 178 additions & 653 deletions

File tree

2_data_preparation/cleaning_teds_d.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"from tqdm import tqdm\n",
3131
"import warnings\n",
3232
"import os\n",
33+
"\n",
3334
"os.getcwd()\n",
3435
"\n",
3536
"warnings.filterwarnings(\"ignore\")"
@@ -889,7 +890,7 @@
889890
" INPUT_FILE = \"1_datasets/raw/tedsd_puf_2023.csv\"\n",
890891
" OUTPUT_FILE = \"1_datasets/processed/teds_d_2023_cleaned.csv\"\n",
891892
"\n",
892-
" clean_teds_d_data(INPUT_FILE, OUTPUT_FILE)\n"
893+
" clean_teds_d_data(INPUT_FILE, OUTPUT_FILE)"
893894
]
894895
},
895896
{
@@ -912,7 +913,7 @@
912913
"\n",
913914
"df_sample = df.sample(1000, random_state=42)\n",
914915
"\n",
915-
"df_sample.to_csv(\"1_datasets/sample/tedsd_sample.csv\", index=False)\n"
916+
"df_sample.to_csv(\"1_datasets/sample/tedsd_sample.csv\", index=False)"
916917
]
917918
}
918919
],

0 commit comments

Comments
 (0)