Skip to content

Commit 02aa042

Browse files
Quick fix of the DatetimeEncoder user guide section (#1474)
1 parent 07b2b28 commit 02aa042

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

doc/encoding.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,12 @@ Encoding dates
141141
===============
142142

143143

144-
The
145-
:meth:`to_datetime()` function and the :class:`ToDatetime` transformer parse
144+
The :meth:`to_datetime()` function and the :class:`ToDatetime` transformer parse
146145
common datetime formats and convert columns from string to datetime; additionally,
147146
if you are working with a specific time format, both objects accept a custom
148147
``format`` to use when converting.
149148

150-
Feature engineering of datetime features can be done with the :class:``DatetimeEncoder``,
149+
Feature engineering of datetime features can be done with the :class:`DatetimeEncoder`,
151150
which converts datetime columns into separate columns that contain each part of
152151
the datetime (year, month, day etc.), as well as additional simple features like
153152
the number of seconds from epoch and the day of the week. Periodic features are

0 commit comments

Comments
 (0)