You can just use the pd.Timestamp constructor. The following diagram may be useful for this and related questions.
More Related Contents:
- Pandas: Subtracting two date columns and the result being an integer
- Pandas: How to create a datetime object from Week and Year?
- pd.Timestamp versus np.datetime64: are they interchangeable for selected uses?
- Convert a column of timestamps into periods in pandas
- Replacing values represented by 'UN' with NaN
- What is the difference between NaN and None?
- Keep only date part when using pandas.to_datetime
- Strings in a DataFrame, but dtype is object
- Performance of Pandas apply vs np.vectorize to create new column from existing columns
- What does axis in pandas mean?
- How to convert string to datetime format in pandas python?
- FutureWarning: elementwise comparison failed; returning scalar, but in the future will perform elementwise comparison
- How to map numeric data into categories / bins in Pandas dataframe
- Coalesce values from 2 columns into a single column in a pandas dataframe
- Convert timedelta64[ns] column to seconds in Python Pandas DataFrame
- Splitting timestamp column into separate date and time columns
- ‘DataFrame’ object has no attribute ‘sort’
- Pandas pd.Series.isin performance with set versus array
- Get year, month or day from numpy datetime64
- Get week start date (Monday) from a date column in Python (pandas)?
- pandas distinction between str and object types
- Python pandas convert datetime to timestamp effectively through dt accessor
- Which is the fastest way to extract day, month and year from a given date?
- Locate first and last non NaN values in a Pandas DataFrame
- Pandas custom function to find whether it is the 1st, 2nd etc Monday, Tuesday, etc – all suggestions welcome
- How to use sklearn fit_transform with pandas and return dataframe instead of numpy array?
- mean from pandas and numpy differ
- Python: Datetime to season
- Pandas datetimes with different formats in the same column
- Get weekday/day-of-week for Datetime column of DataFrame