Python Pandas Data Structure Series
Python Pandas Data Structure
The Pandas provides two data structures for processing the data, Series and DataFrame
1. Series
It is defined as a one-dimensional array that is capable of storing various data types. The row labels of series are called the index. We can easily convert the list, tuple, and dictionary into series
import pandas as pd
import numpy as np
info = np.array(['K','E','E','N','I','N','F','O','T','E','C','H',])
a = pd.Series(info)
print(a)
Comments
Post a Comment