PANDAS
Darshika Srivastava
Associate Project Manager @ HuQuo | MBA,Amity Business School
Introductio
Python is one of the most widely used language for Data Analysis and Data Science.?Python is easy to learn, has a great online community of learners and instructors, and has some really powerful data-centric libraries.?Pandas?is one of the most important libraries in Python for Data Analysis, and Data Science.
1. read_csv(
read_csv() function helps read a comma-separated values (csv) file into a Pandas DataFrame. All you need to do is mention the path of the file you want it to read. It can also read files separated by delimiters other than comma, like | or tab.?More details?here.
. head(
head(n) is used to return the first n rows of a dataset. By default, df.head() will return the first 5 rows of the DataFrame. If you want more/less number of rows, you can specify n as an integer.)