ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> scipy-user
scipy-user
Re: [SciPy-user] what different between array([ 1., 2., 3.])
by Zhang Sam other posts by this author
Nov 27 2006 5:48PM messages near this date
Re: [SciPy-user] what different between array([ 1., 2., 3.] ) | Re: [SciPy-user] what different between array([ 1., 2., 3.])
Hi,

That is a the operation of 1-D array and 2-D array is different. A 1-D array
is more like list type.

--------------------------
> >> from numpy import *
> >> a= array([1,2,3])
> >> a[:]
array([1, 2, 3])
> >> a[0:1]
array([1])
> >>
-----------------------------

Thanks!
Thread:
Zhang Sam
Robert Kern

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved