in [ ]import pandas as pd thuswhenever you see pd in codeit' referring to pandas series and dataframe are used so much that find it easier to import them into the local namespace introduction to pandas data structures to get started with pandasyou will need to get comfortable with its two workhorse data structuresseries and dataframe while they are not universal solution for every problemthey provide solideasy-to-use basis for most applications series series is one-dimensional array-like object containing an array of data (of any numpy data typeand an associated array of data labelscalled its index the simplest series is formed from only an array of datain [ ]obj series([ - ]in [ ]obj out[ ] - the string representation of series displayed interactively shows the index on the left and the values on the right since we did not specify an index for the dataa default one consisting of the integers through (where is the length of the datais created you can get the array representation and index object of the series via its values and index attributesrespectivelyin [ ]obj values out[ ]array( - ]in [ ]obj index out[ ]int index([ ]often it will be desirable to create series with an index identifying each data pointin [ ]obj series([ - ]index=[' '' '' '' ']in [ ]obj out[ ] - getting started with pandas www it-ebooks info