I am using a package and it is returning me an array. When I print the shape it is (38845,). Just wondering why this ‘,’.
I am wondering how to interpret this.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Python has tuples, which are like lists but of fixed size. A two-element tuple is
(a, b); a three-element one is(a, b, c). However,(a)is justain parentheses. To represent a one-element tuple, Python uses a slightly odd syntax of(a,). So there is only one dimension, and you have a bunch of elements in that one dimension.