# frameWithoutInternalFieldsExcept

Filter a DataFrame by removing all internal fields starting with underscore `_`, except for the fields listed in `names`.
For example, if you have a primary data source with the following fields: `_time, _span, date, count, cost, _raw`,
then DSL `> primary | frameWithoutInternalFields('_time')` removes all the internal fields except `_time` and returns the DataFrame with fields `_time, date, count, cost`.
If you want to remove all the internal fields, use `frameWithoutInternalFields()` instead.
If you pass any non-internal fields as parameters, they will be ignored.

@public
@param {string[]} names
@returns {DataFrame<DataType>}

The following code sample shows how to use `frameWithoutInternalFieldsExcept(...names)` to remove some internal fields from the data source, but leaving specified internal fields by their field names.

This code sample will visualize the table with the `Name`, `UserID`, `_time` and `_span` columns,
and the `_raw` columns will not be displayed.

Another example of using `frameWithoutInternalFieldsExcept(...names)` in a chained DSL:

This code sample will visualize `Dr. Bradford Gulgowski` as the major value, because the internal fields other than `_time` are excluded,
and index `1` of the rest of the data frame (`_time`, `Name`, `UserID`) corresponds to the `Name` column.
