Skip to content

Conversation

jbrockmendel
Copy link
Member

We also have a deprecation to remove the keyword altogether, but we can't enforce that until we give people time to stop passing keep_tz=True

@gfyoung gfyoung added Deprecate Functionality to remove in pandas Datetime Datetime data dtype labels Nov 20, 2019
@jreback jreback added this to the 1.0 milestone Nov 20, 2019
@@ -663,14 +663,14 @@ def _get_time_micros(self):
values = self._data._local_timestamps()
return fields.get_time_micros(values)

def to_series(self, keep_tz=None, index=None, name=None):
def to_series(self, keep_tz=lib._no_default, index=None, name=None):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI we should standard this argument somewhere and actually have a check that we don't have multiple ways of doing this (a maintenance concern).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants