When typing pd.read.csv(), we can find the definitions of all input variables, shown in the following screenshot. Again, to save space, only the first several input variables are shown:
To prevent a future potential change in terms of a dataset link, we have a backup dataset located at the author's website, shown in the following Python code:
inFile="http://canisius.edu/~yany/data/bezdekIris.data.txt"
import pandas as pd
d=pd.read_csv(inFile,header=None)
The following table shows several functions included in the pandas package that we could use to retrieve data:
Table 3.4 Functions included in the Python pandas module for inputting data
To find out detailed information on each of the preceding functions, we use the help() function. For example, if we want to get more information about the read_sas() function, we issue the following commands:
import pandas as pd
help(pd.read_sas)
The corresponding output, the top part only, is shown here: