You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
read_fwf does not support a string type in the filepath_or_buffer argument.
Parameters:
filepath_or_buffer : str, path object, or file-like object String, path object (implementing os.PathLike[str]), or file-like object implementing a text read() function.The string could be a URL. Valid URL schemes include http, ftp, s3, and file. For file URLs, a host is expected. A local file could be: file://localhost/path/to/table.csv.
Suggested fix for documentation
remove str/string from this parameter documentation
The text was updated successfully, but these errors were encountered:
Are you saying that it doesn't support something like "/path/to/file" or it doesn't support something like "a,b,c\n1,2,3" (string containing the content). The first one (str containing a path) should work? The second one is not intended to work.
Pandas version checks
main
hereLocation of the documentation
https://pandas.pydata.org/pandas-docs/version/2.0/reference/api/pandas.read_fwf.html
Documentation problem
read_fwf does not support a string type in the
filepath_or_buffer
argument.Parameters:
filepath_or_buffer : str, path object, or file-like object
String, path object (implementing os.PathLike[str]), or file-like object implementing a text read() function.The string could be a URL. Valid URL schemes include http, ftp, s3, and file. For file URLs, a host is expected. A local file could be: file://localhost/path/to/table.csv.
Suggested fix for documentation
remove str/string from this parameter documentation
The text was updated successfully, but these errors were encountered: