tigerlinlxt
commited on
Commit
•
e6603d4
1
Parent(s):
c5afc23
Update README.md
Browse filesConvert News Outlet to outlet
README.md
CHANGED
@@ -94,7 +94,7 @@ def preprocess_data(df):
|
|
94 |
try:
|
95 |
processed_data = []
|
96 |
for _, row in df.iterrows():
|
97 |
-
outlet = row["
|
98 |
if outlet == "FOX NEWS":
|
99 |
outlet = "FOXNEWS"
|
100 |
elif outlet == "NBC NEWS":
|
|
|
94 |
try:
|
95 |
processed_data = []
|
96 |
for _, row in df.iterrows():
|
97 |
+
outlet = row["outlet"].strip().upper()
|
98 |
if outlet == "FOX NEWS":
|
99 |
outlet = "FOXNEWS"
|
100 |
elif outlet == "NBC NEWS":
|