If you are getting low memory error while trying to upload a large CSV file in the pandas data frame, you can use below line to import to a csv file with argument low_memory False. It will work for you.

dataset = pd.read_csv('example.csv', low_memory=False)

Hope this will work for you, in case it doesn’t solve your problem feel free to write more details in the comments section.