English

State whether the following statement is True or False: In Python, we cannot create an empty DataFrame. - Informatics Practices

Advertisements
Advertisements

Question

State whether the following statement is True or False:

In Python, we cannot create an empty DataFrame.

True or False
Advertisements

Solution

This statement is false.

Explanation:

In Python Pandas, it is possible to create an empty DataFrame. The syntax for creating an empty DataFrame is: DataFrame_name = pd.DataFrame().

shaalaa.com
  Is there an error in this question or solution?
2024-2025 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×