Selecting columns when importing data using DataFrames.readtable

Is there a way to select only a few columns when importing data using readtable? Something like the pandas read_csv "usecols" method

movies = pd.read_csv('data/ml-100k/u.item', sep='|', names=m_col_names, usecols=range(5))
+4
source share
1 answer

According to this question https://github.com/JuliaStats/DataFrames.jl/issues/568 , as @DSM pointed out, the current DataFrames implementation does not support this.

+1
source

Source: https://habr.com/ru/post/1568821/


All Articles