>>> a=pd.Series([1,2],index=['a','b']) >>> a a 1 b 2 dtype: int64 >>> b=pd.Series(['b','a']) >>> b 0 b 1 a dtype: object >>> b.index RangeIndex(start=0, stop=2, step=1) >>> b.values array(['b', 'a'], d
import os # third-party library import torch import torch.nn as nn import torch.utils.data as Data import torchvision import matplotlib.pyplot as plt # torch.manual_seed(1) # reproducible # Hyper Parameters EPOCH = 1 # train the training data n times