Skip to content

Commit 8dc8f64

Browse files
authored
DOC: fix closing sq. bracket in pandas.read_fwf example (#57959) (#57961)
- change closing square bracket in colspecs description to correct "]"
1 parent 41383cf commit 8dc8f64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/parsers/readers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ def read_fwf(
11391139
``file://localhost/path/to/table.csv``.
11401140
colspecs : list of tuple (int, int) or 'infer'. optional
11411141
A list of tuples giving the extents of the fixed-width
1142-
fields of each line as half-open intervals (i.e., [from, to[ ).
1142+
fields of each line as half-open intervals (i.e., [from, to] ).
11431143
String value 'infer' can be used to instruct the parser to try
11441144
detecting the column specifications from the first 100 rows of
11451145
the data which are not being skipped via skiprows (default='infer').

0 commit comments

Comments
 (0)