Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

datetime columns only extract date pandas

new_sep_data['_source.@timestamp'] = pd.to_datetime(new_sep_data['_source.@timestamp']).dt.date
 
PREVIOUS NEXT
Tagged: #datetime #columns #extract #date #pandas
ADD COMMENT
Topic
Name
5+5 =