Table Of Contents
- What’s New
- Installation
- Contributing to pandas
- Package overview
- 10 Minutes to pandas
- Tutorials
- Cookbook
- Intro to Data Structures
- Essential Basic Functionality
- Working with Text Data
- Options and Settings
- Indexing and Selecting Data
- MultiIndex / Advanced Indexing
- Computational tools
- Working with missing data
- Group By: split-apply-combine
- Merge, join, and concatenate
- Reshaping and Pivot Tables
- Time Series / Date functionality
- Time Deltas
- Categorical Data
- Visualization
- Styling
- IO Tools (Text, CSV, HDF5, …)
- Enhancing Performance
- Sparse data structures
- Frequently Asked Questions (FAQ)
- rpy2 / R interface
- pandas Ecosystem
- Comparison with R / R libraries
- Comparison with SQL
- Comparison with SAS
- Comparison with Stata
- API Reference
- Input/Output
- General functions
- Series
- DataFrame
- Panel
- Index
- Numeric Index
- CategoricalIndex
- IntervalIndex
- MultiIndex
- DatetimeIndex
- TimedeltaIndex
- PeriodIndex
- Scalars
- Period
- Attributes
- Methods
- Timestamp
- Properties
- Methods
- pandas.Timestamp.astimezone
- pandas.Timestamp.ceil
- pandas.Timestamp.combine
- pandas.Timestamp.ctime
- pandas.Timestamp.date
- pandas.Timestamp.day_name
- pandas.Timestamp.dst
- pandas.Timestamp.floor
- pandas.Timestamp.freq
- pandas.Timestamp.freqstr
- pandas.Timestamp.fromordinal
- pandas.Timestamp.fromtimestamp
- pandas.Timestamp.isocalendar
- pandas.Timestamp.isoformat
- pandas.Timestamp.isoweekday
- pandas.Timestamp.month_name
- pandas.Timestamp.normalize
- pandas.Timestamp.now
- pandas.Timestamp.replace
- pandas.Timestamp.round
- pandas.Timestamp.strftime
- pandas.Timestamp.strptime
- pandas.Timestamp.time
- pandas.Timestamp.timestamp
- pandas.Timestamp.timetuple
- pandas.Timestamp.timetz
- pandas.Timestamp.to_datetime64
- pandas.Timestamp.to_julian_date
- pandas.Timestamp.to_period
- pandas.Timestamp.to_pydatetime
- pandas.Timestamp.today
- pandas.Timestamp.toordinal
- pandas.Timestamp.tz_convert
- pandas.Timestamp.tz_localize
- pandas.Timestamp.tzname
- pandas.Timestamp.utcfromtimestamp
- pandas.Timestamp.utcnow
- pandas.Timestamp.utcoffset
- pandas.Timestamp.utctimetuple
- pandas.Timestamp.weekday
- Interval
- Properties
- Timedelta
- Properties
- Methods
- Frequencies
- Window
- GroupBy
- Resampling
- Style
- Plotting
- General utility functions
- Extensions
- Developer
- Internals
- Extending Pandas
- Release Notes
Search
Enter search terms or a module, class or function name.
pandas.Timestamp.astimezone¶
-
Timestamp.
astimezone
¶ Convert tz-aware Timestamp to another time zone.
Parameters: tz : str, pytz.timezone, dateutil.tz.tzfile or None
Time zone for time which Timestamp will be converted to. None will remove timezone holding UTC time.
Returns: - converted : Timestamp
Raises: TypeError
If Timestamp is tz-naive.