Q. Write a Python code to create an empty dataframe.


Answer :-


import pandas as pd
df = pd. DataFrame ()
print (df)


Output :-

Empty DataFrame
Columns: []
Index: []

>>>

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post