Working with NumPy

Working with NumPy

-12

-1

: ( ) ( )

NumPy Arrays

? Pandas structure NumPy arrays | 1. Pandas NumPy array | 2. data structure

? NumPy ("Numerical Python" Numeric Python") open source module arrays matrices |

? NumPy import | statement

>>>import numpy as np

( np, numpy |)

? NumPy arrays 2 -

? 1-D array ? Vectors |

? Multidimentional arrays ? Matrices |

,

List array

NumPy Arrays Python Lists

? NumPy array, Python List data store list array access NumPy array, list | ?

? NumPy array size | array array array overwrite , list |

? NumPy array elements datatype , list |

? NumPy array, Python list | ? NumPy array, Vectorized operation

element list list list |

list error array |

,

NumPy Data Types

NumPy data types support |

,

NumPy Arrays

1. array() function array - numpy.array(,[]) * numpy np import .

? nar1 ndarray object ? nar1 3 element ( list pass ). ? ndarray elements datatype default |

dtype argument datatype | ? Elements datatype elements size |

,

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download