Answers for "read only 10 columns pandas"

1

get only first 10 columns pandas

df.iloc[:, : 50]
Posted by: Guest on December-07-2020
0

read one column pandas

import pandas as pd

df = pd.read_csv('some_data.csv', usecols = ['col1','col2'], low_memory = True)
Posted by: Guest on April-30-2021

Code answers related to "read only 10 columns pandas"

Python Answers by Framework

Browse Popular Code Answers by Language