
Ciao,
La tabella sopra è solo un esempio del mio set di dati. Ho 100.000 righe e oltre 500 colonne. La mia domanda è come rimuovere le righe "aaa".
Non sono sicuro di quale sia il risultato finale.Se vuoi che la tabella risultante sia:

Names Default To Here( 1 );
dt = Current Data Table();
// Get all of the column names
colNameList = dt << get column names( string );
// Remove the first column name from the list
Remove From( colNameList, 1, 1 );
dt << Begin Data Update;
// Loop across all columns in the list and recode them
For( i = 1, i <= N Items( colNameList ), i++,
dt << Recode Column(
As Column( dt, colNameList[i] ),
{Map Value( _rcOrig, {"aaa", " "}, Unmatched( _rcNow ) )},
Update Properties( 1 ),
Target Column( As Column( dt, colNameList[i] ) )
)
);
dt << End Data Update;
Se il risultato finale è

Names Default To Here( 1 );
dt = Current Data Table();
// Get all of the column names
colNameList = dt << get column names( string );
// Remove the first column name from the list
Remove From( colNameList, 1, 1 );
// Loop across all columns in the list and find rows
// that have aaa for that column
For( i = 1, i <= N Items( colNameList ), i++,
dt << select where(
As Column( dt, colNameList[i] ) == "aaa",
current selection( "extend" )
)
);
// Delete all selected rows
dt << delete rows;
Per discussioni future in cui fornisci l'immagine di una tabella di dati, inseriscila come tabella e non come immagine della tabella o, se possibile, allega la tabella.Ciò rimuoverà l'obbligo per il rispondente di dover dedicare il tempo necessario per creare individualmente le tabelle.