Array

Hey guys, so in previous blog we learn how pandas worked in data science or in python, i hope my blog helped you and today we are going to learn about the array and some basic operations performed on it. so, let’s start

1d array

A One-dimensional array(single dimensional array) is a type of linear array. it is an int type, specially used to create vector with linear addressing

Output

Change data type

Output

Creating the sequence of the number

Output

Creating Arithmetic Progression

Output

Reshaping your array

Output

In reshape array doesn’t modify

Resizing

Output

In resize the array will be modified

To find missing data

Output

Ignore nan(missing value) value

Output

So, in this blog we learn about the 1 d array i hope you find it useful and in next blog we are going to learn about the 2d array so till than bye, and if you want to read some interesting blog then click here.

Leave a Comment

Your email address will not be published. Required fields are marked *