Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Recent questions tagged Python
0
votes
Q: Pandas index column title or name
How do I get the index column name in python pandas? Here's an example dataframe: Index Title Column 1 Apples 1 ... how to do this? Select the correct answer from above options...
asked
Jan 27, 2022
in
Education
by
JackTerrance
machine-learning
python
pandas
dataframe
0
votes
Q: count the frequency that a value occurs in a dataframe column
I have a dataset |category| cat a cat b cat a I'd like to be able to return something like (showing unique values ... cat a 2 cat b 1 Select the correct answer from above options...
asked
Jan 27, 2022
in
Education
by
JackTerrance
python
pandas
dataframe
machine-learning
0
votes
Q: Why do we have to normalize the input for an artificial neural network?
It is a principal question, regarding the theory of neural networks: Why do we have to normalize the input for ... is not normalized? Select the correct answer from above options...
asked
Jan 27, 2022
in
Education
by
JackTerrance
artificial-intelligence
machine-learning
neural-network
data-science
python
0
votes
Q: What does tf.nn.conv2d do in tensorflow?
I was looking at the docs of TensorFlow about tf.nn.conv2d here. But I can't understand what it does or ... it raised the question. Select the correct answer from above options...
asked
Jan 27, 2022
in
Education
by
JackTerrance
machine-learning
deep-learning
tensorflow
python
0
votes
Q: grouping rows in list in pandas groupby
I have a pandas data frame like: a b A 1 A 2 B 5 B 5 B 4 C 6 I want to group by the ... do something like this using pandas groupby? Select the correct answer from above options...
asked
Jan 26, 2022
in
Education
by
JackTerrance
machine-learning
python
pandas
0
votes
Q: How to implement the Gaussian mutation operator for a genetic algorithm in Java
I try to learn and implement a simple genetic algorithm library for my project. At this time, evolution, ... Gaussian distribution?.) Select the correct answer from above options...
asked
Jan 26, 2022
in
Education
by
JackTerrance
machine-learning
artificial-intelligence
python
deep-learning
0
votes
Q: Get list from pandas DataFrame column headers
I want to get a list of the column headers from a pandas DataFrame. The DataFrame will come from user input so I don ... 'gdp', 'cap'] Select the correct answer from above options...
asked
Jan 26, 2022
in
Education
by
JackTerrance
machine-learning
pandas
python
0
votes
Q: Using @property versus getters and setters
Here is a pure Python-specific design question: class MyClass(object): ... def get_my_attr(self): ... def ... you use and why? Select the correct answer from above options...
asked
Jan 26, 2022
in
Education
by
JackTerrance
python
python-programming
0
votes
Q: How do you remove duplicates from a list whilst preserving order?
Is there a built-in that removes duplicates from a list in Python, whilst preserving order? I know that I can ... idiom if possible. Select the correct answer from above options...
asked
Jan 26, 2022
in
Education
by
JackTerrance
python
list
duplicate
python-faq
python-programming
0
votes
Q: How to properly ignore exceptions
When you just want to do a try-except without handling the exception, how do you do it in Python? Is the ... rmtree(path) except: pass Select the correct answer from above options...
asked
Jan 26, 2022
in
Education
by
JackTerrance
exception
python
python-3
try-catch-finally
Page:
« prev
1
...
20
21
22
23
24
next »
...