- 4

Given a csv file and a column name, print the elements in the given column.

import pandas as pd filename = input() column_name = input() df = pd.read_csv(filename) arr = df[column_name].values print(arr)

18th Apr 2022, 6:51 PM
Shubham Mandgaonkar
1 Resposta
+ 5
Shubham Mandgaonkar , can you please give a clear description of your issue or what your question is? thanks!
18th Apr 2022, 6:56 PM
Lothar
Lothar - avatar