Fixed get_stratified_sample() and replace broken x() with actual working logic, added sample_with_keywords().
This commit is contained in:
@@ -166,8 +166,8 @@ def preprocess_uber_reviews(input_path, output_path):
|
||||
return df_clean
|
||||
|
||||
if __name__ == "__main__":
|
||||
input_file = "data/uber_reviews.csv"
|
||||
output_file = "data/uber_reviews_cleaned.csv"
|
||||
input_file = "multitag/data/uber_reviews.csv"
|
||||
output_file = "multitag/data/uber_reviews_cleaned.csv"
|
||||
|
||||
df_clean = preprocess_uber_reviews(input_file, output_file)
|
||||
print("\nPreprocessing complete!")
|
||||
|
||||
Reference in New Issue
Block a user