Categories
dataframe is-empty pandas python

how to create python empty dataframe where df.empty results in True

How can I create an empty dataframe in python such that the test df.empty results True?

I tried this:

df = pd.DataFrame(np.empty((1, 1)))

and df.empty results in False.