# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 2
#     language: python
#     name: python2
# ---

import pandas as pd
import numpy as np

motley = pd.read_csv('motleyfool.csv')

bloomberg = pd.read_csv('bloomberg.csv')

motley['source'] = 'motleyfool'

bloomberg['source'] = 'bloomberg'

merged = motley.append(bloomberg)

merged.to_csv('newsdata.csv', index=False, encoding='utf-8')



pd.read_csv('positive-words.txt', sep=' ', header=None)



StarcoderdataJupyterScriptsDedupFiltered