Question 4
1 Mark
How will you load a csv file in Python?
a.pd. load csv()
b.pd. read csv()
c. pd. get csv()
d. pd. show csv()
Answers
Answered by
1
Load CSV files to Python Pandas
# Load the Pandas libraries with alias 'pd'
import pandas as pd.
# Read data from file 'filename.csv'
# (in the same directory that your python process is based)
# Control delimiters, rows, column names with read_csv (see later)
data = pd. ...
# Preview the first 5 lines of the loaded data.
Answered by
0
Answer:
d . pd. show csv ()
Explanation:
i think
Similar questions