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)
how can i print a histogram based on the counters of each flower species?(x axis- name of the flower y axis-the amount)
#counters
counter_setosa = 0
counter_versicolor = 0
counter_virginica = 0
#checking the name of the flowers and adding them to their counters
for item in df['species']:
#for setosas(in loo...
Mike Megrelishvili
Votes: 0
Answers: 1
How to create a counter using recursion to get the total employees(direct or indirect) under a manager_id in javascript?
I have an excel file with data like this
Name
WorkerId
ManagerId
Tom
179
180
Liz
150
179
Ricki
120
179
sona
113
150
Preet
558
150
mina
89
558
Yukti
45
120
And I want a function...

SONALI AGARWAL
Votes: 0
Answers: 1
Why am I getting a "Name error" for a variable that was defined beforehand?
Not sure why I am getting a name error for variable c15k when c15k is defined beforehand. I have tried putting the entire code in a "try except" statement without success. The goal is to run...
hector.h2913
Votes: 0
Answers: 1
Counting presence of words within context near other words
I am trying to evaluate whether two named groups of words occur within 25 words of each other. I am having two issues, which are likely very interrelated:
I am following this approach to evaluate whe...

Grant
Votes: 0
Answers: 1