fake-news-detection's People
Forkers
maazamjad hamza121star singhal98 hong-sung-hyun potsane vishwanathravula japeshmethuku nehalbarot zenpro100 veenasnair18 saarikabhasi dwitrishafake-news-detection's Issues
Regarding editing of UCI Real News Dataset
I use this data set but I am not sure if I have to edit the csv or just as it is. I downloaded it and use it as /DataSets/uci-news-aggregator.csv
https://archive.ics.uci.edu/ml/datasets/News+Aggregator#
I get this error when I run DataExtractionAndFilter.py
Fetching real news dataset....
Traceback (most recent call last):
File "DataExtractionAndFilter.py", line 144, in <module>
if __name__=='__main__':dataSetExtraction()
File "DataExtractionAndFilter.py", line 125, in dataSetExtraction
dfReal=fetchDataFrameRealNewsCSV()
File "DataExtractionAndFilter.py", line 11, in fetchDataFrameRealNewsCSV
fake_news_data = pd.read_csv('../DataSets/uci-news-aggregator.csv',thousands=',')
File "/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py", line 702, in parser_f
return _read(filepath_or_buffer, kwds)
File "/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py", line 435, in _read
data = parser.read(nrows)
File "/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py", line 1139, in read
ret = self._engine.read(nrows)
File "/usr/local/lib/python2.7/dist-packages/pandas/io/parsers.py", line 1995, in read
data = self._reader.read(nrows)
File "pandas/_libs/parsers.pyx", line 899, in pandas._libs.parsers.TextReader.read
File "pandas/_libs/parsers.pyx", line 914, in pandas._libs.parsers.TextReader._read_low_memory
File "pandas/_libs/parsers.pyx", line 968, in pandas._libs.parsers.TextReader._read_rows
File "pandas/_libs/parsers.pyx", line 955, in pandas._libs.parsers.TextReader._tokenize_rows
File "pandas/_libs/parsers.pyx", line 2172, in pandas._libs.parsers.raise_parser_error
pandas.errors.ParserError: Error tokenizing data. C error: Expected 4 fields in line 994, saw 5
@ritikavnair Please let me know if I am doing anything wrong.
Regarding Dataset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.