Skip to content

Commit e52e2ff

Browse files
tweak wording in clarify non-trading
1 parent 7472654 commit e52e2ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ Notice, in the above chart, there are no gaps along the x-coordinate, even thoug
265265
- However, sometimes people like to see these gaps, so that they can tell, with a quick glance, where the weekends and holidays fall.
266266

267267
- Non-trading days can be displayed with the `show_nontrading` keyword.
268-
- Note that for these purposes **non-trading** intervals are those that ***are not represented in the data at all***. That is, there are simply no rows for those date (or datetimes). This is because data that is retrieved from an exchange or other market data source typically will *not* include rows for non-trading days (weekends and holidays for example).
269-
- `show_nontrading=True` will display all dates (all time intervals) between the first time stamp and the last time stamp in the data (regardless of whether rows exist for those dates or datetimes).
270-
- `show_nontrading=False` (the default value) will show ***only*** dates (or datetimes) that have actual rows in the data. (This means that if there are rows in your DataFrame that exist but contain only `NaN` values, these rows *will always* appear on the plot even if `show_nontrading=False`)
268+
- Note that for these purposes **non-trading** intervals are those that ***are not represented in the data at all***. (There are simply no rows for those dates or datetimes). This is because, when data is retrieved from an exchange or other market data source, that data typically will *not* include rows for non-trading days (weekends and holidays for example). Thus ...
269+
- **`show_nontrading=True`** will display all dates (all time intervals) between the first time stamp and the last time stamp in the data (regardless of whether rows exist for those dates or datetimes).
270+
- **`show_nontrading=False`** (the default value) will show ***only*** dates (or datetimes) that have actual rows in the data. (This means that if there are rows in your DataFrame that exist but contain only **`NaN`** values, these rows *will still appear* on the plot even if **`show_nontrading=False`**)
271271
- For example, in the chart below, you can easily see weekends, as well as a gap at Thursday, November 28th for the U.S. Thanksgiving holiday.
272272

273273

0 commit comments

Comments
 (0)