ENH:  add new feature of yyyyww for .isocalendar()  to resolve issue #49353
- [x] closes #49353   (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

> 



> Is there an open Github issue associated with this?
> 
> I would be -1 for this change. `isocalendar` should align with `datetime.datetime` which doesn't return `yearandweek`

Yeah, this is an issue associated with this. Please see the link here: https://github.com/pandas-dev/pandas/issues/48947

Thanks for the suggestion about datetime.datetime. 
  -1 as well this is easily computable and doesn't warrant a method Thanks for the PR, but closing as it appears this approach is undesirable. Thanks for the time for reviewing the code.
________________________________
From: Matthew Roeschke ***@***.***>
Sent: 01 November 2022 04:03
To: pandas-dev/pandas ***@***.***>
Cc: Rui Huang ***@***.***>; Author ***@***.***>
Subject: Re: [pandas-dev/pandas] ENH: add new feature of yyyyww for .isocalendar() to resolve issue #49353 (PR #49355)


Thanks for the PR, but closing as it appears this approach is undesirable.

—
Reply to this email directly, view it on GitHub<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpandas-dev%2Fpandas%2Fpull%2F49355%23issuecomment-1297396333&data=05%7C01%7Cu5927645%40anu.edu.au%7C80573ea4400d4492577708dabb61e5ce%7Ce37d725cab5c46249ae5f0533e486437%7C0%7C0%7C638028326398403178%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CBAgYqARprOSk5BMgc3ALFnoggcBWKQPJint3RokEQg%3D&reserved=0>, or unsubscribe<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA2PTNSI4MJIVJ5SCT7MBTKDWF73XVANCNFSM6AAAAAARQCVYGM&data=05%7C01%7Cu5927645%40anu.edu.au%7C80573ea4400d4492577708dabb61e5ce%7Ce37d725cab5c46249ae5f0533e486437%7C0%7C0%7C638028326398403178%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XRqAYbyFzdo3aWrOWQh2a%2BF0ZTQUFEys%2BmI2pnOi8Qc%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
