Python Forum
Extracting specific columns in an array - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: Extracting specific columns in an array (/thread-14580.html)



Extracting specific columns in an array - uthongam - Dec-07-2018

We have an array with six columns and 25,000 rows. Our goal is to assign each column as a variable and then be able to run them in a function for all of the rows. How would we go about to extract a specific column to place inside an equation?


RE: Extracting specific columns in an array - ichabod801 - Dec-07-2018

What have you tried? And are you working with built-in lists, numpy arrays, or pandas data frames?