为什么选择' sep'和'分隔符'参数存在于pandas的read_csv和read_table中?

时间:2018-04-30 15:25:21

标签: python pandas csv

What is the difference between `sep` and `delimiter` attributes in pandas.read_csv() method?sep delimiter read_csv函数的pandassep个参数之间的差异寻找答案。

answersdocumentation明确指出delimitersep是相同的。

read_fwfto_csv中不存在这种分离,仅举几例;但存在于read_table

尽管如此,以上都没有解释为什么存在这种分离以及为什么需要它。您能否告诉我们将delimiterread_csvread_tableCREATE OR REPLACE FUNCTION totalstudent (v_gender IN VARCHAR2) RETURN NUMBER IS total_gender NUMBER (2) := 0; BEGIN SELECT COUNT (*) INTO total_gender FROM New_Student WHERE gender = v_gender; RETURN total_gender; END; -- The code I used to call it DECLARE c NUMBER (2); BEGIN c := totalstudent ('Male'); DBMS_OUTPUT.put_line ('Total Number of Male is' || c); c := totalstudent ('Female'); DBMS_OUTPUT.put_line ('Total Number of Female is' || c); END; 分开的用途是什么?

0 个答案:

没有答案
相关问题