<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 学习 pandas
Reference
10 Minutes to pandas
Cookbook
简介
Python Data Analysis Library
pandas is an open source, BSD-licensed library providing high-performance, easy-to-use data structures and data analysis tools for the Python programming language.
pandas is a NUMFocus sponsored project. This will help ensure the success of development of pandas as a world-class open-source project.
基础知识
Step1:  数据结构
series
dataframe
series
Series is a one-dimensional labeled array capable of holding any data type (integers, strings, floating point numbers, Python objects, etc.). The axis labels are collectively referred to as the index. The basic method to create a Series is to call
Step2:  From dict
<ASSISTANT_TASK:>
Python Code:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
Explanation: 学习 pandas
Reference
10 Minutes to pandas
Cookbook
简介
Python Data Analysis Library
pandas is an open source, BSD-licensed library providing high-performance, easy-to-use data structures and data analysis tools for the Python programming language.
pandas is a NUMFocus sponsored project. This will help ensure the success of development of pandas as a world-class open-source project.
基础知识
End of explanation
s = pd.Series(np.random.randn(5), index=['a', 'b', 'c', 'd', 'e'])
s
s = pd.Series([1,3,5,np.nan,6,8])
s
Explanation: 数据结构
series
dataframe
series
Series is a one-dimensional labeled array capable of holding any data type (integers, strings, floating point numbers, Python objects, etc.). The axis labels are collectively referred to as the index. The basic method to create a Series is to call:
&gt;&gt;&gt; s = pd.Series(data, index=index)
 From ndarray
End of explanation
d = {'a' : 0., 'b' : 1., 'c' : 2.}
pd.Series(d)
Explanation: From dict
End of explanation
<END_TASK>