"Data analysis using Python" reading notes--fourth NumPy basics: arrays and Vector computing

Source: Internet
Author: User

Fourth NumPy basics: arrays and vector calculations

To be honest, the main purpose of using NumPy is to apply vectorization operations. NumPy does not have much advanced data analysis capabilities, and understanding numpy and array-oriented computations can help to understand the pandas behind it. According to the textbook, the author's concern is mainly focused on:

    • Fast vectorization operations for data grooming and cleanup, subset construction and filtering, transformation, and more
    • Commonly used array solutions, such as sorting, uniqueness, set operations, etc.
    • Efficient descriptive statistics and data aggregation/digest operations
    • Data alignment and relational data operations for merge/join operations on heterogeneous datasets
    • The conditional logic is expressed as an array expression (rather than a loop with a if-elif-else branch)
    • Grouping operations of data (aggregation, transformations, function applications, etc.).

The author said, maybe pandas better, I feel obviously pandas more advanced, where the function is really convenient, the data frame is the best data structure. Just, the functions in NumPy are the basics and need to be familiar.

NumPy Ndarray: A multidimensional Array object

The Ndarray object is the most important object of numpy and is characterized by vectorization. Ndarray Each element must have the same data type, each array has two properties: shape and Dtype.

"Data analysis using Python" reading notes--fourth NumPy basics: arrays and Vector computing

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.