Skip to content

Conversation

vandana-iyer
Copy link
Contributor

Updates the below 2 test files to use f-strings (fast and preferred) instead of '.format' (old and slow)

  1. pandas/tests/reshape/test_reshape.py
  2. pandas/tests/scalar/period/test_period.py

For more details on the issue, refer: #29547

  • tests passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff

@jbrockmendel
Copy link
Member

LGTM

@ShaharNaveh ShaharNaveh added the Code Style Code style, linting, code_checks label Jan 30, 2020
@vandana-iyer
Copy link
Contributor Author

vandana-iyer commented Jan 30, 2020

It is my first contribution to the pandas library and I am all excited :)
Thanks for the review @jbrockmendel and thanks for adding the label @MomIsBestFriend.

@ShaharNaveh
Copy link
Member

@vandana-iyer Thank you for the PR :)

@jreback jreback added this to the 1.1 milestone Jan 31, 2020
@jreback jreback merged commit 78d8891 into pandas-dev:master Jan 31, 2020
@jreback
Copy link
Contributor

jreback commented Jan 31, 2020

thanks @vandana-iyer

@vandana-iyer vandana-iyer deleted the update-string-format branch February 2, 2020 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Code style, linting, code_checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants