Web Technologies
Android
Angular
BootStrap
ECMAScript
HTML
Image Processing
JavaScript
MVC
Onsen UI
React JS
SOAP UI
Vue.js
Cloud/DevOps Technologies
Amazon EC2
Ansible
Augmented Reality
AWS
Azure
Big Data
Cache Teachniques
Cassandra
Commercial Insurance
Cloud
CD
CI
Data Handling
Data using R
Data Science
DevOps
Gradle
Hadoop
HBase
HDFS
Hive
IOT
Jenkins
Machine Learning
MangoDB
NGINX
SOAP UI
Latest Technologies
5G Network
Agile
Android
Arduino
Augmented Reality
Commercial Insurance
C#
C++
Cyber Security
Data Handling
Data using R
Data Science
DBMS
Design-Pattern
Fortify
Ethical Hacking
Framework
GIT
GIT Slack
Image Processing
Java
Jenkins
Jira
JUnit
Kibana
Linux
MangoDB
Oracle
PHP
Python
QTP
R Language
Regression Analysis
Robotic
Salesforce
SAP
Selenium
Service Discovery
Service Now
Spark SQL
Testing
TOGAF
Research Method
Virtual Reality
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
What is the output of print(np.array([1,2,3]) +1)?
Home
Data Handling
What is the output of print(np.array([1,2,3]) +1)?
+1
vote
asked
Jan 28, 2020
in
Data Handling
by
rahuljain1
(
6.0k
points)
What is the output of print(np.array([1,2,3]) +1)?
[2 3 4]
[1 1 2 3]
[11 21 31]
[1 2 3 1]
#output-array
DataHandling-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 28, 2020
by
SakshiSharma
(
30.8k
points)
[2 3 4]
Related questions
+1
vote
What is the output of print(np.array([1,2,3]) * np.array([1,2,3]) )?
asked
Jan 28, 2020
in
Data Handling
by
rahuljain1
(
6.0k
points)
#output-array
DataHandling-questions-answers
0
votes
What is the output of print(np.array([1,2,3]) * np.array([[1],[2],[3]]) )?
asked
Jan 28, 2020
in
Data Handling
by
rahuljain1
(
6.0k
points)
#print-output
DataHandling-questions-answers
+1
vote
What is the output of print(np.dot([1,2,3],[[1],[2],[3]])?
asked
Jan 28, 2020
in
Data Handling
by
rahuljain1
(
6.0k
points)
#output-print
DataHandling-questions-answers
0
votes
What will the following lines of code return x <- matrix(1:18, 6, 3) apply(x, 2, sum)
asked
May 27, 2019
in
Data Handling
by
tempuser
(
391
points)
#datahandling
DataHandling-questions-answers
+1
vote
What is 2d indexing? define one ex : num = np.array([1,2,3],[4,5,6],[7,8,9])
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
(
30.5k
points)
2d-indexing
0
votes
What is the output of print tuple[1:3] if tuple = ( 'abcd', 786 , 2.23, 'john', 70.2 )?
asked
May 16, 2020
by
AdilsonLima
(
5.7k
points)
#python
+1
vote
If layer_dims = [3,9,9,1], then the shape of weight vector for third layer is _____________.
asked
Jan 28, 2020
in
Data Handling
by
rahuljain1
(
6.0k
points)
#vector-weight
DataHandling-questions-answers
0
votes
Find out the mean, median and standard deviation of this numpy array -> np.array([1,5,3,100,4,48])
asked
Feb 11, 2021
in
Python
by
SakshiSharma
(
30.8k
points)
#python
python-meanm
python-numpy-array
Python-questions-answers
+1
vote
You are building a binary classifier for classifying output(y=1) vs. output(y=0). Which one of these activation functions would you recommend using for the output layer?
asked
Jan 28, 2020
in
Data Handling
by
rahuljain1
(
6.0k
points)
#binary-classifier
DataHandling-questions-answers
0
votes
For a given matrix mat, how do you increment every element of the matrix by 3 and return a vector. (I) sapply(mat, function(x,y) sum(x)+y,y=3) (II) sapply(mat, function(x) sum(x)+3)
asked
May 27, 2019
in
Data Handling
by
tempuser
(
391
points)
#datahandling
DataHandling-questions-answers
...