the non-double-underscore names are names of "publicattributes and methodsi attributes and methods normal users are expected to access public attributes and and (possiblyredefine number of the methods and attributes of are methods duplicates of functions (or the output of functionsthat act on arrays ( transposet)so you can use either the method version or the function version and now let' look at some examples of accessing and using array object attributes and methodsexample (using array attributes and methods)in the python interpretertype ina reshape( arange( )( , )print astype(' 'print shape print cumsum(print what do each of the print lines doare you accessing an attribute or method of the array?solution and discussionthe giveaway as to whether we are accessing attributes or calling methods is whether there are parenthesis after the nameif notit' an attributeotherwiseit' method of courseyou could type how to tell whether you the name of the method without parentheses followingbut then the interare accessing preter would just say you specified the method itselfas you did not call the an attribute or methoda method print astype <built-in method astype of numpy ndarray object at ( manually added linebreak in the above screenshot to fit it on the page that is to saythe above syntax prints the method itselfsince you can' meaningfully print the method itselfpython' print command just says "this is method the astype call produces version of array that converts the values of into single-character strings the shape attribute gives the shape of