<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def series64bitto32bit(s):
 """ Convert a Pandas series from 64 bit types to 32 bit types to save memory or disk space. Parameters s : The series to convert Returns ------- The converted series """

    if s.dtype == np.float64:
        return s.astype('float32')
    elif s.dtype == np.int64:
        return s.astype('int32')
    return s