Since pandas v0.23.1 (specifically from https://github.com/pandas-dev/pandas/pull/21300), if a file-like object is passed into df.to_csv, the object must have the method getvalue, or else an AttributeError is raised (which is what we have observed from #258). An io.TextIOWrapper object doesn't have the method getvalue, which caused the latest build failures in #258. This PR switches to io.StringIO instead.
AppVeyor has been turned on, but obviously there's no AppVeyor configuration yet (upcoming from #258) and hence the relevant build "failure", which should be ignored for this PR.
Since
pandas
v0.23.1 (specifically from https://github.com/pandas-dev/pandas/pull/21300), if a file-like object is passed intodf.to_csv
, the object must have the methodgetvalue
, or else anAttributeError
is raised (which is what we have observed from #258). Anio.TextIOWrapper
object doesn't have the methodgetvalue
, which caused the latest build failures in #258. This PR switches toio.StringIO
instead.