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
Under the Parameters for pandas.read_fwf(), specifically the param colspecs, the description is as below:
**colspecs : list of tuple (int, int) or ‘infer’. optional **
A list of tuples giving the extents of the fixed-width fields of each line as half-open intervals (i.e., [from, to[ ). String value ‘infer’ can be used to instruct the parser to try detecting the column specifications from the first 100 rows of the data which are not being skipped via skiprows (default=’infer’).
Note that that closing square bracket in the example is also a left square bracket "[".
Suggested fix for documentation
The suggested fix is simply to replace the "[" with the correct closing "]" square bracket.
The text was updated successfully, but these errors were encountered:
Pandas version checks
main
hereLocation of the documentation
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_fwf.html
Documentation problem
Under the Parameters for
pandas.read_fwf()
, specifically the paramcolspecs
, the description is as below:Note that that closing square bracket in the example is also a left square bracket "[".
Suggested fix for documentation
The suggested fix is simply to replace the "[" with the correct closing "]" square bracket.
The text was updated successfully, but these errors were encountered: