Closed snowljs closed 1 month ago
df = md.DataFrame({'age': [5, 6, np.NaN], 'born': [md.NaT, md.Timestamp('1939-05-27'), md.Timestamp('1940-04-25')], 'name': ['Alfred', 'Batman', ''], 'toy': [None, 'Batmobile', 'Joker']}) df.execute() --- --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[1], line 34 30 # session = new_session(odps_entry=o) 31 print(session.session_id + "\n---") 33 df = md.DataFrame({'age': [5, 6, np.NaN], ---> 34 'born': [md.NaT, md.Timestamp('1939-05-27'), 35 md.Timestamp('1940-04-25')], 36 'name': ['Alfred', 'Batman', ''], 37 'toy': [None, 'Batmobile', 'Joker']}) 39 df.execute() AttributeError: module 'maxframe.dataframe' has no attribute 'NaT' ---