Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas series program

import pandas as pd
import numpy as np
 
 
# Creating empty series
ser = pd.Series()
   
print(ser)
 
# simple array
data = np.array(['g', 'e', 'e', 'k', 's'])
   
ser = pd.Series(data)
print(ser)
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #pandas #series #program
ADD COMMENT
Topic
Name
8+3 =