Skip to content

DOC: Add to_julian_date to DatetimeIndex methods listing #62090

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

echedey-ls
Copy link

@echedey-ls echedey-ls commented Aug 12, 2025

First time contributor here.

  • [ ] closes #xxxx (Replace xxxx with the GitHub issue number) No issue related
  • [ ] Tests added and passed if fixing a bug or adding a new feature
  • [ ] All code checks passed.
  • [ ] Added type annotations to new arguments/methods/functions. Nothing new
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

Add to_julian_date documentation entry to pandas.DatetimeIndex.

Currently, it is not listed nor can be found in the documentation: https://pandas.pydata.org/docs/reference/api/pandas.DatetimeIndex.html
pandas.Timestamp already has it linked https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.to_julian_date.html
from the time it was added v0.14.0 https://pandas.pydata.org/docs/whatsnew/v0.14.0.html

I haven't read through the contributing section, please point out if there is something missing. If it looks okay, tell me to proceed with the whatsnew task.

Docs artifact for second commit (it works): https://github.com/pandas-dev/pandas/actions/runs/16895776565/job/47865152612?pr=62090

@echedey-ls echedey-ls marked this pull request as ready for review August 12, 2025 01:02
Validate Docstrings
Error: /home/runner/work/pandas/pandas/pandas/core/indexes/datetimes.py:296:SS06:pandas.DatetimeIndex.to_julian_date:Summary should fit in a single line
Error: /home/runner/work/pandas/pandas/pandas/core/indexes/datetimes.py:296:SS03:pandas.DatetimeIndex.to_julian_date:Summary does not end with a period
Error: /home/runner/work/pandas/pandas/pandas/core/indexes/datetimes.py:296:EX01:pandas.DatetimeIndex.to_julian_date:No examples section found
Error: /home/runner/work/pandas/pandas/pandas/core/indexes/datetimes.py:296:RT01:pandas.DatetimeIndex.to_julian_date:No Returns section found
Error: /home/runner/work/pandas/pandas/pandas/core/indexes/datetimes.py:296:SA01:pandas.DatetimeIndex.to_julian_date:See Also section not found
Validate Docstrings DONE
Error: Process completed with exit code 5.
@echedey-ls echedey-ls changed the title Add to_julian_date to DatetimeIndex methods listing DOC: Add to_julian_date to DatetimeIndex methods listing Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant