Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Recent questions tagged python
Home
Tag
python
+1
vote
Q: 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
by
SakshiSharma
python
dataframes
+1
vote
Q: 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
by
SakshiSharma
datasets
python
strings
+1
vote
Q: Write a function to simulate the overlap of two computing jobs and output an estimated cost.
asked
Oct 28, 2022
in
Python
by
SakshiSharma
python
function
+1
vote
Q: 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
by
SakshiSharma
python
string
0
votes
Q: 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
by
SakshiSharma
list
python
strings
0
votes
Q: 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
by
SakshiSharma
python
list
0
votes
Q: Write a function to generate N samples from a normal distribution and plot them on the histogram.
asked
Oct 28, 2022
in
Python
by
SakshiSharma
python
function
plot
histogram
+1
vote
Q: 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
by
SakshiSharma
python
string
functions
+1
vote
Q: Given a string, return the first recurring character in it, or “None” if there is no recurring character.
asked
Oct 28, 2022
in
Python
by
SakshiSharma
python
string
functions
+2
votes
Q: 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
by
SakshiSharma
python
strings
functions
0
votes
Q: What are arrays in Python?
asked
Oct 27, 2022
in
Python
by
SakshiSharma
arrays-python
python
0
votes
Q: What’s the difference between / and // in Python?
asked
Oct 27, 2022
in
Python
by
SakshiSharma
single-slash
double-slash
python
0
votes
Q: What is list comprehension in Python? Provide an example.
asked
Oct 27, 2022
in
Python
by
SakshiSharma
list-comprehension
python
0
votes
Q: Is memory de-allocated when you exit Python?
asked
Oct 27, 2022
in
Python
by
SakshiSharma
de-allocation
python
0
votes
Q: How would you find duplicate values in a dataset for a variable in Python?
asked
Oct 27, 2022
in
Python
by
SakshiSharma
python
datasets
variable
0
votes
Q: Is Python an object-oriented programming language?
asked
Oct 27, 2022
in
Python
by
SakshiSharma
object-oriented-programming
python
0
votes
Q: What library would you prefer for plotting Seaborn or Matplotlib?
asked
Oct 27, 2022
in
Python
by
SakshiSharma
plotting-seaborn
matplotlib
python
0
votes
Q: What is the difference between lists and tuples in Python?
asked
Oct 27, 2022
in
Python
by
SakshiSharma
list
tuples
python
0
votes
Q: How is a negative index used in Python?
asked
Oct 27, 2022
in
Python
by
SakshiSharma
negative-index
python
0
votes
Q: How are data analysis libraries used in Python? What are some of the most common libraries?
asked
Oct 27, 2022
in
Python
by
SakshiSharma
python-libraries
python
Page:
« prev
1
2
3
4
5
6
7
8
next »
...