In: Computer Science
I am trying to create new empty dataset with a shape (40, 30) in phyton with using pandas.
How can I create it?
import numpy as np
import pandas as pd
df = pd.DataFrame(np.empty((40, 30)))
df
Screenshot of Execution in Google Collab-: