Skip to content
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

Cleanup philosophy doc #634

Merged
merged 5 commits into from
Apr 6, 2023
Merged

Cleanup philosophy doc #634

merged 5 commits into from
Apr 6, 2023

Conversation

EFord36
Copy link
Contributor

@EFord36 EFord36 commented Apr 5, 2023

  • no issue closed (I could open one for the type, or others for the other changes, but it seems a small enough change to not be worth it - happy to if you would prefer though!
  • no tests added - docs-only change.

While working on #630 and reading docs/philosophy, I noticed a 'too' typo for 'to', which I thought I'd fix (in the first commit in the PR).

While making that change though, I noticed a couple of inconsistencies in the same paragraph:

  1. In the number of spaces after a '.' (full stop/period) at the end of a sentence - normally 2 spaces, but sometimes 1.
  2. Some lines have trailing whitespace (while most don't)

I fixed these for the paragraph, but also the rest of the document (using the regex \. ([^ ]) for the whitespace after '.', and \s$ for the trailing whitespace.

All other ends of sentences (period/full stop, '.') are followed by two
spaces - these are followed by one. Making these match.

Note this has no impact on rendering, Markdown only creates a single
rendered space after a '.' in either case.
All other lines in this paragraph have no trailing whitespace, remove
this single trailing whitespace to match.

Note that this has no impact on the rendering of the Markdown.
As with previous commit, but for the whole document.

Found using the regex "\. ([^ ])" and replacing with ".  $1".

All other ends of sentences (period/full stop, '.') are followed by two
spaces - these are followed by one. Making these match.

Note this has no impact on rendering, Markdown only creates a single
rendered space after a '.' in either case.
As with previous commit, but for the whole document.

Found using the regex "\s$".

All other lines have no trailing whitespace, remove these single
trailing whitespaces to match.

Note that this has no impact on the rendering of the Markdown.
Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

Thanks @EFord36

The "two spaces" after a period is because I learned to type by taking a typing class 45+ years ago on a typewriter, and back in those days, you always added two spaces after a period! So it's a very hard habit to break.

@Dr-Irv Dr-Irv merged commit 636dac5 into pandas-dev:main Apr 6, 2023
13 checks passed
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.

None yet

2 participants