162ba9a0-8c06-4150-8323-fea608ffa0ab
prompter
using python use the following dataset: "df_vra = pd.read_csv('externos.csv', sep=';')" and loop through each row and get the value of the columns "RUT", "DV", and "Names"
1785e12b-caec-4fef-adbf-6a6ddca77623
162ba9a0-8c06-4150-8323-fea608ffa0ab
assistant
You shouldn't use a for loop in this instance. Pandas has a built in method to get a subset of the columns in a dataframe. You give a list of the column names you want as an index like so:

columns = [ "RUT", "DV", "Names"]
df_vra[columns]

Should return what you want.
cefc09b4-7e2c-49ec-888c-455d94a9e80c
1785e12b-caec-4fef-adbf-6a6ddca77623
prompter
Interesting. Why did you assume I use pandas? I mean you are not wrong, but I am still wondering.
cb502983-963d-495c-9f70-cfbf56f5c979
cefc09b4-7e2c-49ec-888c-455d94a9e80c
assistant
Pandas is commonly imported as such: "import pandas as pd". Pandas provides the read_csv method in order to read a comma-separated values file into DataFrame. Thus, I concluded that your instruction "df_vra = pd.read_csv('externos.csv', sep=';')" implies that you are using the Pandas library.