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

Fix #1091 by removing erroneous kwa delim_whitespace #1092

Merged
merged 1 commit into from
Dec 19, 2016

Conversation

zrisher
Copy link
Contributor

@zrisher zrisher commented Dec 8, 2016

Fixes #1091 by removing erroneous keyword arg delim_whitespace in pd.to_csv() usage

@zrisher
Copy link
Contributor Author

zrisher commented Dec 8, 2016

@martinholmer @talumbau

@codecov-io
Copy link

codecov-io commented Dec 8, 2016

Current coverage is 98.79% (diff: 100%)

Merging #1092 into master will not change coverage

@@             master      #1092   diff @@
==========================================
  Files            38         38          
  Lines          2830       2830          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           2796       2796          
  Misses           34         34          
  Partials          0          0          

Powered by Codecov. Last update 632826e...0026fe3

@@ -681,8 +681,7 @@ def pdf_recid(recid):
fstring = '{:' + str(col_size) + '}'
out = out.applymap(fstring.format)
# write ascii output to specified ascii_filename
out.to_csv(ascii_filename, header=False, index=False,
delim_whitespace=True, sep='\t')
out.to_csv(ascii_filename, header=False, index=False, sep='\t')
Copy link
Member

@talumbau talumbau Dec 8, 2016

Choose a reason for hiding this comment

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

yep. Bitten by the pandas philosophy "hmm, don't know that keyword arg, it's probably fine." 😢

@talumbau
Copy link
Member

talumbau commented Dec 8, 2016

+1

@MattHJensen MattHJensen merged commit 4ad570c into PSLmodels:master Dec 19, 2016
@MattHJensen
Copy link
Contributor

Thanks @zrisher!

@zrisher zrisher deleted the pandas-19-1-compat branch December 21, 2016 00:33
@zrisher zrisher mentioned this pull request Dec 22, 2016
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.

4 participants