human
I am working on the file "06-Descriptive-Statistics/CrimeData_orig.ipynb".
The first task is:
Convert Time Columns
Please refer to the following resources for working with time series data in pandas:
- https://pandas.pydata.org/pandas-docs/stable/timeseries.html
- https://pandas.pydata.org/pandas-docs/stable/api.html#id10
Can you write Python code for it?
 ... Can you provide a the Python code you requested?
assistant
#Here is the Python code you requested.

for col in ['rpt', 'occur', 'poss']:
    datser = df.apply(fixdatetime(col), axis=1)
    df['%s_dt'%col] = pd.to_datetime(datser, format="%m/%d/%Y %H:%M:%S", errors='coerce')

df.head()

def fun1(x):
    def _inner1(y):
        print x, " + ", y, " = ", x+y
    return _inner1

showname = fun1('name:')

type(showname)

showname('Bob')

addthree = fun1(3)

addthree(5)