We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Tag: Last

Python : Get Last Modification date & time of a file. | os.stat() | os.path.getmtime()

In this article we will discuss different ways to get the last modification date & time of a file and how to convert them into different formats. Get last modification time of a file using os.stat() os.stat(pathOfFile) It returns the status of file in the form of an os.stat_result object. It contains information related to a …

Python : Get Last Modification date & time of a file. | os.stat() | os.path.getmtime()Read More

Python : How to get Last Access & Creation date time of a file

In this article we will discuss different ways to get the last access and creation timestamp of a file and how to convert them into different formats. os.stat() Python’s os module provides a function os.stat() Advertisements os.stat(pathOfFile) It accepts the path of file as argument and returns the status of file in the form of an …

Python : How to get Last Access & Creation date time of a fileRead More

Pandas : Select first or last N rows in a Dataframe using head() & tail()

In this article we will discuss how to select top or bottom N number of rows in a Dataframe using head() & tail() functions. Select first N Rows from a Dataframe using head() function pandas.DataFrame.head() In Python’s Pandas module, the Dataframe class provides a head() function to fetch top rows from a Dataframe i.e. Advertisements …

Pandas : Select first or last N rows in a Dataframe using head() & tail()Read More

Cart

Your Cart is Empty

Back To Shop