python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Apache Flink - WordCount - NoResult - PyFlink
I have developed a Word Count program using PyFlink. The program is not throwing any error yet not providing a desired output. According to the code, the program should create a new text file but no f...
syedteck
Votes: 0
Answers: 1
How to find the frequency of a word in a line, in a text file - Pyspark
I have managed to make an RDD (in Pyspark) that looks like this:
[('This', (0, 1)), ('is', (0, 1)), ('the', (0, 1)), ('100th', (0, 1))...]
I used the following code:
RDD=sc.textFile(_filepath_)
test1...
evridimis
Votes: 0
Answers: 1
How can I count every word from a table in a .txt file
I have a table of words and I would like to count how many times these words occur in a .txt file.
So far I have written the word I want to be counted in the file like this:
word = 'sustainable'
word_...
henriksen
Votes: 0
Answers: 0
Word frequency by iterating over a list of dictionaries - python
In reference to a previous question, I am hoping to iterate over a list of dictionaries and turn the output into a new data frame. For now, I have a CSV with two columns. A column with a word and anot...

Alex Fuss
Votes: 0
Answers: 1