Pandas Series dt.normalize() | Normalize Time in Pandas Series Last Updated : 11 Jul, 2025 Comments Improve Suggest changes Like Article Like Report When working with DateTime data in Pandas, sometimes the time doesn't matter and you just want to focus on the date. The dt.normalize() method in Pandas is used for this as it resets the time component of each DateTime entry to midnight (00:00:00) while leaving the date and time zone unchanged. For example, in some cases where data represents events that occur throughout the day but you're only interested in date only like event tracking, daily sales records, etc normalizing the time portion to midnight simplifies comparisons and operations.1. Importing Libraries and Creating DateTime SeriesWe import the pandas library and create a DateTime series sr using pd.date_range(). Range starts from '2025-04-08 12:30' and generates 5 DateTime entries with a frequency of 1 hour (freq='H'). Time zone is set to 'Asia/Kolkata'. Python import pandas as pd sr = pd.Series(pd.date_range('2025-04-08 12:30', periods=5, freq='H', tz='Asia/Kolkata')) 2. Apply dt.normalize() to Reset Time to MidnightWe use dt.normalize() to reset the time component of each entry to midnight (00:00:00) while keeping the date and time zone unchanged. It has no parameters and returns a DatetimeArray. Python result = sr.dt.normalize() print(result) Output:Normalized TimeBy using the dt.normalize() method you can standardize the time in DateTime series allowing easier date-based analysis and comparisons without the influence of the time component.You can also read:Pandas date time frameNormalizing data Comment S Shubham__Ranjan Follow 0 Improve S Shubham__Ranjan Follow 0 Improve Article Tags : Pandas Python-pandas Python pandas-series-datetime AI-ML-DS With Python Explore Pandas Tutorial 4 min read IntroductionPandas Introduction 3 min read How to Install Pandas in Python? 5 min read How To Use Jupyter Notebook - An Ultimate Guide 5 min read Creating ObjectsCreating a Pandas DataFrame 2 min read Python Pandas Series 5 min read Creating a Pandas Series 3 min read Viewing DataPandas Dataframe/Series.head() method - Python 3 min read Pandas Dataframe/Series.tail() method - Python 3 min read Pandas DataFrame describe() Method 4 min read Selection & SlicingDealing with Rows and Columns in Pandas DataFrame 5 min read Pandas Extracting rows using .loc[] - Python 3 min read Extracting rows using Pandas .iloc[] in Python 7 min read Indexing and Selecting Data with Pandas 4 min read Boolean Indexing in Pandas 6 min read Python | Pandas DataFrame.ix[ ] 2 min read Python | Pandas Series.str.slice() 3 min read How to take column-slices of DataFrame in Pandas? 2 min read OperationsPython | Pandas.apply() 4 min read Apply function to every row in a Pandas DataFrame 3 min read Python | Pandas Series.apply() 3 min read Pandas dataframe.aggregate() | Python 2 min read Pandas DataFrame mean() Method 2 min read Python | Pandas Series.mean() 2 min read Python | Pandas dataframe.mad() 2 min read Python | Pandas Series.mad() to calculate Mean Absolute Deviation of a Series 2 min read Python | Pandas dataframe.sem() 3 min read Python | Pandas Series.value_counts() 2 min read Pandas Index.value_counts()-Python 3 min read Applying Lambda functions to Pandas Dataframe 6 min read Manipulating DataAdding New Column to Existing DataFrame in Pandas 6 min read Python | Delete rows/columns from DataFrame using Pandas.drop() 4 min read Python | Pandas DataFrame.truncate 3 min read Python | Pandas Series.truncate() 2 min read Iterating over rows and columns in Pandas DataFrame 4 min read Pandas Dataframe.sort_values() 2 min read Python | Pandas Dataframe.sort_values() | Set-2 3 min read How to add one row in existing Pandas DataFrame? 4 min read Grouping DataPandas GroupBy 4 min read Grouping Rows in pandas 2 min read Combining Multiple Columns in Pandas groupby with Dictionary 2 min read Merging, Joining, Concatenating and ComparingPython | Pandas Merging, Joining and Concatenating 8 min read Python | Pandas Series.str.cat() to concatenate string 3 min read Python - Pandas dataframe.append() 4 min read Python | Pandas Series.append() 4 min read Pandas Index.append() - Python 2 min read Python | Pandas Series.combine() 3 min read Add a row at top in pandas DataFrame 1 min read Python | Pandas str.join() to join string/list elements with passed delimiter 2 min read Join two text columns into a single column in Pandas 2 min read How To Compare Two Dataframes with Pandas compare? 5 min read How to compare the elements of the two Pandas Series? 3 min read Working with Date and TimePython | Working with date and time using Pandas 8 min read Python | Pandas Timestamp.timestamp 3 min read Python | Pandas Timestamp.now 3 min read Python | Pandas Timestamp.isoformat 2 min read Python | Pandas Timestamp.date 2 min read Python | Pandas Timestamp.replace 3 min read Pandas.to_datetime()-Python 3 min read Python | pandas.date_range() method 4 min read Like