How to create an empty dataframe?



How to create an empty dataframe?..

Answer / Abhai Pratap Singh

In pandas, you can create an empty DataFrame using the DataFrame() constructor with no arguments or using pd.DataFrame().empty.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What is jinja python?

1 Answers  


What are its benefits of flask?

1 Answers  


Differentiate between deep and shallow copy?

1 Answers  


How to convert sting to number and viceversa in python?

1 Answers  


Explain python is one line?

1 Answers  


How to minimize the memcached server outages in your python development?

1 Answers  


How to remove whitespaces from a string in python?

1 Answers  


Explain what is a flask? What are its benefits?

1 Answers  


What is return in python?

1 Answers  


How is python different from java?

1 Answers  


Is ruby better than python?

1 Answers  


What tools can be used to unit test your python code?

1 Answers  


Categories