Skip to content

Fully lint statsmodels/formula - #4849

Closed
jbrockmendel wants to merge 1 commit into
statsmodels:masterfrom
jbrockmendel:flint
Closed

jbrockmendel wants to merge 1 commit into
statsmodels:masterfrom
jbrockmendel:flint

Conversation

@jbrockmendel

Copy link
Copy Markdown
Contributor

One by one...

dta = StringIO(""""type" "income" "education" "prestige"\n"accountant" "prof" 62 86 82\n"pilot" "prof" 72 76 83\n"architect" "prof" 75 92 90\n"author" "prof" 55 90 76\n"chemist" "prof" 64 86 90\n"minister" "prof" 21 84 87\n"professor" "prof" 64 93 93\n"dentist" "prof" 80 100 90\n"reporter" "wc" 67 87 52\n"engineer" "prof" 72 86 88\n"undertaker" "prof" 42 74 57\n"lawyer" "prof" 76 98 89\n"physician" "prof" 76 97 97\n"welfare.worker" "prof" 41 84 59\n"teacher" "prof" 48 91 73\n"conductor" "wc" 76 34 38\n"contractor" "prof" 53 45 76\n"factory.owner" "prof" 60 56 81\n"store.manager" "prof" 42 44 45\n"banker" "prof" 78 82 92\n"bookkeeper" "wc" 29 72 39\n"mail.carrier" "wc" 48 55 34\n"insurance.agent" "wc" 55 71 41\n"store.clerk" "wc" 29 50 16\n"carpenter" "bc" 21 23 33\n"electrician" "bc" 47 39 53\n"RR.engineer" "bc" 81 28 67\n"machinist" "bc" 36 32 57\n"auto.repairman" "bc" 22 22 26\n"plumber" "bc" 44 25 29\n"gas.stn.attendant" "bc" 15 29 10\n"coal.miner" "bc" 7 7 15\n"streetcar.motorman" "bc" 42 26 19\n"taxi.driver" "bc" 9 19 10\n"truck.driver" "bc" 21 15 13\n"machine.operator" "bc" 21 20 24\n"barber" "bc" 16 26 20\n"bartender" "bc" 16 28 7\n"shoe.shiner" "bc" 9 17 3\n"cook" "bc" 14 22 16\n"soda.clerk" "bc" 12 30 6\n"watchman" "bc" 17 25 11\n"janitor" "bc" 7 20 8\n"policeman" "bc" 34 47 41\n"waiter" "bc" 8 32 10""")
from pandas import read_table
dta = read_table(dta, sep=" ")
dta = StringIO('type" "income" "education" "prestige"\n'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You lost a quote here. SHould be '"type"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks.

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

rebased

@jbrockmendel
jbrockmendel force-pushed the flint branch 2 times, most recently from 3538a8b to a515408 Compare August 14, 2018 01:51
@coveralls

coveralls commented Aug 14, 2018 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.007%) to 83.86% when pulling 00b7e8a on jbrockmendel:flint into 3261eea on statsmodels:master.

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #4849 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4849      +/-   ##
==========================================
+ Coverage   81.38%   81.38%   +<.01%     
==========================================
  Files         581      581              
  Lines       90194    90196       +2     
  Branches    10077    10077              
==========================================
+ Hits        73406    73408       +2     
  Misses      14498    14498              
  Partials     2290     2290
Impacted Files Coverage Δ
statsmodels/formula/formulatools.py 83.33% <ø> (ø) ⬆️
statsmodels/formula/tests/test_formula.py 100% <100%> (ø) ⬆️
statsmodels/formula/__init__.py 100% <100%> (ø) ⬆️
statsmodels/formula/api.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3261eea...00b7e8a. Read the comment docs.

@bashtage bashtage added the rejected Used for PRs with changes that are not acceptable label Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rejected Used for PRs with changes that are not acceptable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants