How can I convert a Python dictionary into a Pandas DataFrame?

I have a dictionary in Python, and I want to convert it to a Pandas dataframe. The dictionary has keys as column names and values as lists of column values. I’m not sure how to approach this and would appreciate any help.

Here’s the dictionary:

my_dict = {'column1': [1, 2, 3], 'column2': ['a', 'b', 'c'], 'column3': [True, False, True]}

Here’s the desired output:

   column1 column2  column3
0        1       a     True
1        2       b    False
2        3       c     True

I’ve tried using pd.DataFrame(my_dict) but it’s not giving me the desired output. Can someone please guide me on how to do this correctly?

Thank you in advance!