Login
Remember
Register
User SakshiSharma
Wall
Recent activity
All questions
All answers
Ask a Question
Questions by SakshiSharma
0
votes
1
answer
What daemons are needed to run a Hadoop cluster?
asked
Oct 29, 2022
in
Hadoop
daemons
hadoop-cluster
+1
vote
1
answer
You are given a dataframe with prices of cheeses. However, the dataframe is missing values in the price column. Write a function to impute the median price in place of missing values.
asked
Oct 28, 2022
in
Python
python
dataframe
datasets
+1
vote
1
answer
Given a dataframe with rainfall data (day of the week and rainfall inches), write a function to find the median amount of rainfall for the days on which it rained.
asked
Oct 28, 2022
in
Python
python
dataframe
datasets
+1
vote
1
answer
Given a dataframe of students’ favorite colors and test scores, write a function to select only those rows (students) where their favorite color is green or red and their test grade is above 90.
asked
Oct 28, 2022
in
Python
python
dataframe
datasets
+1
vote
1
answer
Given two dataframes (one with addresses and the other with various cities and states), write a function to create a single dataframe with complete addresses.
asked
Oct 28, 2022
in
Python
python
dataframes
+1
vote
1
answer
Given a dataset of test scores, write Pandas code to return cumulative bucketed scores of <50, <75, <90, <100.
asked
Oct 28, 2022
in
Python
datasets
python
strings
+1
vote
1
answer
Write a function to simulate the overlap of two computing jobs and output an estimated cost.
asked
Oct 28, 2022
in
Python
python
function
+1
vote
1
answer
Amy and Brad take turns rolling a fair six-sided die. Whoever rolls a “6” first, wins the game. Amy starts by rolling first.
asked
Oct 28, 2022
in
Python
python
string
0
votes
1
answer
Given a list of stock prices in ascending order by datetime, write a function that outputs the max profit by buying and selling at a specific interval.
asked
Oct 28, 2022
in
Python
list
python
strings
0
votes
1
answer
Write a function that takes in a list of dictionaries with both a key and list of integers, and returns a dictionary with the standard deviation of each list.
asked
Oct 28, 2022
in
Python
python
list
0
votes
1
answer
Write a function to generate N samples from a normal distribution and plot them on the histogram.
asked
Oct 28, 2022
in
Python
python
function
plot
histogram
+1
vote
1
answer
Given two strings, string1 and string2, write a function is_subsequence to find out if string1 is a subsequence of string2.
asked
Oct 28, 2022
in
Python
python
string
functions
+1
vote
1
answer
Given a string, return the first recurring character in it, or “None” if there is no recurring character.
asked
Oct 28, 2022
in
Python
python
string
functions
+2
votes
1
answer
Given two strings, string1 and string2, determine if there exists a one to one character mapping between each character of string1 to string2.
asked
Oct 28, 2022
in
Python
python
strings
functions
+1
vote
1
answer
Given two strings A and B, return whether or not A can be shifted some number of times to get B.
asked
Oct 28, 2022
in
Python
python-function
string-functions
+1
vote
1
answer
Write a function that can take a string and return a list of bigrams.
asked
Oct 28, 2022
in
Python
bigams
python-function
+1
vote
1
answer
Explain the zip() and enumerate() functions.
asked
Oct 27, 2022
in
Python
zip-function
enumerate-function
+1
vote
1
answer
What are some of the limitations of Python?
asked
Oct 27, 2022
in
Python
python-limitations
0
votes
1
answer
What’s the difference between mutable and immutable objects?
asked
Oct 27, 2022
in
Python
mutable
immutable-object
0
votes
1
answer
What are arrays in Python?
asked
Oct 27, 2022
in
Python
arrays-python
python
0
votes
1
answer
How do you convert integers to strings?
asked
Oct 27, 2022
in
Python
integers
string
0
votes
1
answer
What’s the difference between / and // in Python?
asked
Oct 27, 2022
in
Python
single-slash
double-slash
python
0
votes
1
answer
What is tuple unpacking? Why is it important?
asked
Oct 27, 2022
in
Python
tuple-unpacking
0
votes
1
answer
What is list comprehension in Python? Provide an example.
asked
Oct 27, 2022
in
Python
list-comprehension
python
0
votes
1
answer
What is a compound datatype?
asked
Oct 27, 2022
in
Python
compund-datatype
0
votes
1
answer
Is memory de-allocated when you exit Python?
asked
Oct 27, 2022
in
Python
de-allocation
python
0
votes
2
answers
What is a lambda function in Python?
asked
Oct 27, 2022
in
Python
lambda-function
0
votes
1
answer
How would you find duplicate values in a dataset for a variable in Python?
asked
Oct 27, 2022
in
Python
python
datasets
variable
0
votes
1
answer
What is the difference between a series and a dataframe in Pandas?
asked
Oct 27, 2022
in
Python
dataframe
pandas
0
votes
1
answer
Is Python an object-oriented programming language?
asked
Oct 27, 2022
in
Python
object-oriented-programming
python
Page:
« prev
1
...
37
38
39
40
41
42
43
44
45
46
47
...
221
next »
...