mito icon indicating copy to clipboard operation
mito copied to clipboard

Context too large, probably.

Open aarondr77 opened this issue 1 year ago • 0 comments

Create this dataframe

import pandas as pd
import numpy as np

rows = 10000
columns = 10000

# Generate random data for the DataFrame
data = np.random.randn(rows, columns)

# Create column names for the DataFrame
column_names = [f'Column_{i}' for i in range(columns)]

# Create the DataFrame
df = pd.DataFrame(data, columns=column_names)

Then use Mito AI to turn all column headers uppercase. Get the error that it cannot connect to OpenAI because of Internet.

Then create this dataframe

import pandas as pd
df = pd.DataFrame({'A': [1,2,3]})

And do the same thing. It works.

aarondr77 avatar May 23 '23 21:05 aarondr77