Trane icon indicating copy to clipboard operation
Trane copied to clipboard

Make generating nl_descriptions more dynamic

Open RogerTangos opened this issue 6 years ago • 1 comments

trane.utils.generate_nl_description currently assumes exactly 4 operations in the order filter -> row -> transformation -> aggregation. It should be able to handle multiple or no operations in any category.

Including some sort of describe method in the op classes may help.

RogerTangos avatar Jul 17 '18 11:07 RogerTangos

Resolved in f69ac3e7409ada2fdbed2725e26030b0eef20781.

Problems are now described using the str method, and operations can be in any any logically consistent sequence.

RogerTangos avatar Aug 29 '18 09:08 RogerTangos