Aktuellen Timestamp in Pandas erhalten
English
Deutsch
Verwende
current_timestamp_pandas.py
import pandas as pd
current_timestamp = pd.Timestamp.now()pd.Timestamp.now() gibt den Timestamp als pandas.Timestamp-Objekt zurück.
Beispiel:
timestamp_example.py
>>> import pandas as pd
>>> pd.Timestamp.now()
Timestamp('2019-10-27 16:11:43.998993')If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow