Читать книгу SAS Viya - Kevin D. Smith - Страница 35

The swat.options Object

Оглавление

In addition to the option functions in the SWAT package, there is an object-based interface as well: swat.options. This method of settings options is just like using the Pandas options object.

Much like using describe_option without any arguments, using Python’s Help system, you can also display all of the option descriptions with swat.options?.

In [92]: swat.options?

Type: AttrOption

String form: <swat.utils.config.AttrOption object at 0x269a0d0>

File: swat/utils/config.py

Definition: swat.options(self, *args, **kwargs)

Docstring

cas.dataset.auto_castable : boolean

Should a column of CASTable objects be automatically

created if a CASLib and CAS table name are columns in the data?

NOTE: This applies to all except the 'tuples' format.

[default: True] [currently: True]

cas.dataset.bygroup_as_index : boolean

If True, any by group columns are set as the DataFrame index.

[default: True] [currently: True]

cas.dataset.bygroup_collision_suffix : string

Suffix to use on the By group column name when a By group column

is also included as a data column.

[default: _by] [currently: _by]

... truncated ...

Tab completion can also be used to see what options are available.

SAS Viya

Подняться наверх