Open QuintinTao opened 4 months ago
ReActChat
打了一下token 的内容,看了一下应该是数据里面有点问题,导致执行python 代码报错了,给爆掉了。修改 一下数据,再执行没问题了。
请问 Qwen-Agent 有提供直接设置max_input_tokens的配置选项么?
请问 Qwen-Agent 有提供直接设置max_input_tokens的配置选项么?
@zhangwt 这样配置:
llm_cfg = {
'model': 'Qwen2-7B-Chat',
'model_server': 'http://localhost:8000/v1',
'api_key': 'EMPTY',
'generate_cfg': {
"max_input_tokens": 28000 # 这里
}
}
bot = Assistant(llm=llm_cfg,
token 被这玩意撑爆了,有办法解决没? {'role': 'user', 'content': 'Answer the following questions as best you can. You have access to the following tools:\n\ncode_interpreter: Call this tool to interact with the code_interpreter API. What is the code_interpreter API useful for? Python代码沙盒,可用于执行Python代码。 Parameters: [{"name": "code", "type": "string", "description": "待执行的代码", "required": true}] 此工具的输入应为Markdown代码块。\n\nUse the following format:\n\nQuestion: the input question you must answer\nThought: you should always think about what to do\nAction: the action to take, should be one of [code_interpreter]\nAction Input: the input to the action\nObservation: the result of the action\n... (this Thought/Action/Action Input/Observation can be repeated zero or more times)\nThought: I now know the final answer\nFinal Answer: the final answer to the original input question\n\nBegin!\n\nQuestion: 用柱状图或者饼图分析{\'category\': \'城市类型\', \'continuous_variable\': \'平均消费能力\'}使用D:\\python\\qw\\Qwen-Agent\\examples\\resource\\restaurant_data.csv作为数据文件进行分析,使用中文生成柱状图,Final answer要少于30个字,尽可能简短,并简短告知分析结论\nThought: 我需要查看文件数据,应该使用代码解释器API\nAction: code_interpreter\nAction Input: \n
py\nimport pandas as pd\ndf = pd.read_csv("D:\\\\python\\\\qw\\\\Qwen-Agent\\\\examples\\\\resource\\\\restaurant_data.csv")\ndf.head() \n
\nObservation: execute_result:\n\n\n Name Location Cuisine Rating Seating Capacity \\\n0 Restaurant 0 Rural Japanese 4.0 38 \n1 Restaurant 1 Downtown Mexican 3.2 76 \n2 Restaurant 2 Rural Italian 4.7 48 \n3 Restaurant 3 Rural Italian 4.4 34 \n4 Restaurant 4 Downtown Japanese 4.9 88 \n\n Average Meal Price Marketing Budget Social Media Followers \\\n0 73.98 2224 23406 \n1 28.11 4416 42741 \n2 48.29 2796 37285 \n3 51.55 1167 15214 \n4 75.98 3639 40171 \n\n Chef Experience Years Number of Reviews Avg Review Length Ambience Score \\\n0 13 185 161.92490574327928 1.3 \n1 8 533 148.7597173739537 2.6 \n2 18 853 56.84918945954191 5.3 \n3 13 82 205.43326529316235 4.6 \n4 9 78 241.68158411313138 8.6 \n\n Service Quality Score Parking Availability Weekend Reservations \\\n0 7.0 Yes 13 \n1 3.4 Yes 48 \n2 6.7 No 27 \n3 2.8 Yes 9 \n4 2.1 No 37 \n\n Weekday Reservations Revenue \n0 4 638945.52 \n1 6 490207.83 \n2 14 541368.62 \n3 17 404556.8 \n4 26 1491046.35 \n
\nThought: 数据集包含有关餐厅的各种信息,包括城市类型和平均消费能力,但我需要首先检查"城市类型"和"平均消费能力"这两列是否存在。\nAction: code_interpreter\nAction Input: \npy\n# 检查\'城市类型\'和\'平均消费能力\'列是否存在\nif \'Location\' in df.columns and \'Average Meal Price\' in df.columns:\n print("这两列都存在")\nelse:\n print("至少有一列不存在")\n
\nObservation: stdout:\n\n\n这两列都存在\n\n
\nThought: 数据集中有\'城市类型\'(Location)和\'平均消费能力\'(Average Meal Price)这两列,可以继续进行分析。\nAction: code_interpreter\nAction Input: \npy\nimport pandas as pd\nimport matplotlib.pyplot as plt\nplt.rcParams[\'font.sans-serif\'] = [\'SimHei\'] # 设置字体解决中文显示问题\nplt.rcParams[\'axes.unicode_minus\'] = False \n\n# 加载数据\ndf = pd.read_csv("D:\\\\python\\\\qw\\\\Qwen-Agent\\\\examples\\\\resource\\\\restaurant_data.csv")\n\n# 分析\'城市类型\'和\'平均消费能力\',计算每个城市的平均消费\naverage_meal_prices = df.groupby(\'Location\')[\'Average Meal Price\'].mean().reset_index()\n\n# 创建柱状图\nplt.figure(figsize=(10,6))\nplt.bar(average_meal_prices[\'Location\'], average_meal_prices[\'Average Meal Price\'])\nplt.xlabel(\'城市类型\', fontsize=12)\nplt.ylabel(\'平均消费能力\', fontsize=12)\nplt.title(\'各类型城市平均消费能力\')\nplt.show()\n
\nObservation: error:\n\n**\nTypeError: Could not convert string** \'28.1175.9835.6935.638.2633.9139.6128.935.4737.6935.6939.2542.4632.5240.6365.356.7259.0935.868.3761.332.8227.4140.7735.0752.1842.1340.4538.7340.4737.5454.7651.8765.7545.3335.2864.8126.1773.8553.5860.6129.3970.4833.964.0935.6348.1652.1351.1335.8171.838.7552.1172.8525.6257.7960.9275.7129.3966.937.1263.3858.9370.1968.6255.9547.0532.6353.1731.9671.638.1433.0550.2942.0773.7334.433.2659.9829.9228.5658.6158.2726.0672.1374.061.2338.0861.7133.4834.5233.9949.4355.4638.9157.4628.7551.0433.0633.7656.340.2339.465.4855.2929.3158.2645.940.1739.4645.2627.7628.0365.8742.341.6264.3355.9736.4768.464.2968.5154.4739.6451.6435.7264.9945.2430.5731.9533.7134.7439.3168.6464.134.2463.3234.7259.6573.1442.3927.3552.0269.7861.5739.3546.0768.047.8257.7659.9759.4936.0832.9535.3134.6550.7462.7145.5462.0247.1340.4147.1436.8866.6530.2533.8533.2532.5172.0865.1545.6871.5548.0335.5342.7269.255.8437.5469.249.2725.9237.3646.5645.6828.1252.2161.6335.336.3571.4334.9766.6730.4838.6975.2557.5373.2265.0370.6645.2173.4631.4649.7637.4659.0964.5530.2473.8938.6130.5135.3454.857.7466.9735.0546.142.6447.1735.0967.4348.9650.0541.4556.5738.2735.4340.8435.8755.5953.3639.1731.9352.325.0640.6436.6454.7467.9344.0728.0343.0450.2132.4656.8632.7544.7665.8836.6150.2340.4726.4153.445.6449.1942.2640.1243.8545.5736.8846.1245.8665.2845.6159.8732.2538.4134.937.3538.3170.437.2456.8553.9362.8260.1340.9743.8952.1234.1832.640.1463.1733.5833.2229.7350.9658.8441.9538.5729.1349.9544.6733.7856.8439.0434.6560.7746.3468.4742.1656.071.473.7857.7632.9458.0835.0738.9255.7265.9474.8659.7765.4834.9665.8172.3147.3172.0837.3131.5227.6325.025.8449.2971.4635.5462.0771.8155.1937.3232.6330.8733.8564.126.2273.3737.9958.2527.9142.7764.425.2530.9462.7666.4846.7151.8561.1832.5633.9235.5242.6832.6163.3972.7752.1662.8669.1668.6134.5135.2933.3638.2548.3965.1966.6868.2355.363.9536.0355.9961.6627.3838.370.952.9838.5161.6249.3665.8229.5960.0949.4733.8936.7572.9537.3769.2551.5955.6439.6528.0926.3640.1145.6662.1250.5752.1573.371.155.9540.039.4753.4441.2235.2972.2843.6539.1736.3331.3850.9764.7159.3432.3153.9530.7635.0947.2445.4565.8939.0945.8170.9439.2632.2136.3649.2766.4249.8149.4835.5463.745.6231.8756.5225.4825.1549.7655.2858.5529.3375.3430.039.8940.6136.4455.8847.626.7644.9828.8136.5345.8855.1563.9236.5739.6545.8862.732.730.9665.4974.0265.2753.7356.5638.7333.266.7255.7750.3453.7660.3651.7937.8131.8165.1332.1126.6125.4955.5361.4866.5837.3859.1672.2245.1435.642.5829.7445.3659.2644.9960.7951.2375.141.1555.3435.3230.7346.7650.9536.0845.6528.6850.7131.6238.2536.248.5164.0837.1736.8633.6830.5544.5162.2344.2731.3535.0632.8447.1353.9263.7336.0153.850.6857.5934.5368.8339.829.348.8875.1556.0639.7740.546.6435.2835.7558.3548.8136.1432.8145.437.4651.8534.6460.7667.4569.9667.4230.8638.6847.1558.4764.0168.3562.038.0635.8875.5757.4745.2145.0326.0341.0933.3247.0638.1135.8136.2748.0466.475.5535.5247.6529.1243.3327.8359.2662.837.1465.2858.1652.7526.4530.5747.2152.5132.8725.6439.5629.165.4833.5742.9654.0171.4738.5531.3742.0236.8852.9260.3431.0251.9856.5841.4426.5344.3859.4463.948.0856.7954.9861.2725.8854.1439.4960.8143.9560.4138.4832.6525.730.6635.5463.9353.0551.1630.4638.3826.9739.3448.4635.2270.272.1471.7846.7361.955.8236.9450.0538.7626.4233.8152.630.2426.6662.8164.7863.7454.0235.2959.6345.2275.8974.4830.6526.8441.1131.0270.4962.7935.6528.9958.2951.9839.8431.1771.0865.8738.7349.1861.8664.0558.1447.0663.9235.846.9367.9935.1857.0261.4473.2835.1474.148.3531.9428.4271.3327.3868.1131.2172.242.6929.4468.5239.0268.9454.9537.6828.8835.2945.3952.8349.5135.1153.0141.3828.6436.6352.8233.5551.067.4935.4930.7628.5955.9632.5236.9937.1973.6439.8554.2432.4730.7430.9849.150.8843.0846.1337.5645.3368.5937.4940.4255.2768.1269.7365.0731.7549.7459.6973.6255.0729.9540.4933.0446.6375.5154.2540.4455.8537.5834.8944.9326.4147.2529.4943.5951.7370.6531.0645.9770.6835.1273.9845.1246.256.3130.4146.5531.5830.6839.3968.3357.6436.0326.2845.8229.1235.9265.8471.9328.6930.0137.1938.8539.2928.1531.0431.8262.1462.3266.1328.5527.7937.5358.6645.352.6461.4737.4457.7353.1145.8761.8666.1434.1936.4729.4329.6537.0674.9633.640.3850.8656.7441.6272.0255.535.0725.6828.6668.445.7727.3457.2638.7327.6925.0565.9531.1265.9266.151.275.0750.0258.8335.1537.0971.4559.6951.3135.0674.2642.3752.0629.2269.1526.7535.0335.9528.6434.4655.9537.429.6965.6965.6238.4451.2656.6935.7650.4540.4639.0833.0158.2142.8160.9755.9360.848.5938.4643.3450.651.1939.0548.4931.0649.0365.3632.1764.1951.7846.2946.9428.034.0359.131.3240.1340.3631.9262.733.838.3838.0464.8767.625.8469.5943.7770.8443.8834.6643.8232.047.4729.7769.2139.1165.8939.2373.269.774.2440.8438.4145.8671.4941.7162.6564.0833.7828.475.6661.3845.9243.438.3355.8435.475.5229.3569.5737.0835.836.6464.1747.2635.9938.9828.9142.3466.3448.232.8933.9867.3462.3554.1140.5665.9656.7966.2961.9237.6929.9943.7674.9568.0757.8274.2174.5973.8144.7828.9352.6537.1435.543.673.264.8275.9372.953.2142.0436.3548.9752.2934.0672.1748.2153.942.4459.3158.7858.269.8555.9447.9538.5329.3545.8330.7653.6564.7733.2452.4628.0362.6330.6765.6254.1672.8965.6849.9361.6751.0270.4940.2731.7542.9150.3350.7161.2941.1533.3846.0734.8637.6825.9752.9242.771.1735.7733.4455.7567.333.5438.9771.4735.5866.3467.0742.2759.0175.7145.8141.3670.8763.3548.5567.6838.1243.168.0452.5772.9950.9361.6941.0147.1972.1931.1932.2738.2354.6343.7845.3334.8240.4761.7534.1233.164.8950.1139.6831.7364.141.6828.8531.8637.1238.2249.2444.8645.7839.3762.2742.2775.7875.242.0839.6669.6135.4254.9171.4828.0972.3560.1131.1153.8241.6530.8826.4846.5935.1133.8264.6137.0270.9558.2264.840.9325.6270.2243.2436.4641.3156.7570.6957.1726.6541.5328.4832.4443.8168.2836.2532.9447.9471.7142.1965.9255.3337.2645.1131.7626.3533.9738.9574.3932.1451.2165.3170.5838.3541.360.7342.2828.9338.1532.7628.9532.159.0634.3968.6845.8245.5572.5751.8575.3852.1963.1431.2127.8651.9237.0954.4772.3133.6952.8735.9275.2657.6256.0940.0169.730.840.6550.6150.8575.9738.0259.9861.2958.1543.9625.0448.6737.2534.9925.5657.0165.2962.226.2528.549.2129.8434.6537.3163.4525.4565.1662.4654.7331.8636.6626.6435.2750.4427.7252.9265.5854.353.0238.1635.6773.2150.3465.8943.7340.4931.3340.6451.5742.2543.0555.3252.3348.8440.4468.8760.9967.4831.3835.7640.042.8539.0166.3569.2371.8462.2975.5245.7256.1768.8431.5932.8638.9125.8264.4670.7370.6131.9452.7336.0458.9669.4744.245.861.2951.3329.6358.0945.6328.1636.7634.5255.6570.3959.2830.7364.7236.2334.0467.960.7455.6545.1364.1330.5856.3631.3545.8538.2935.0549.6535.6126.6231.5326.8565.5464.6153.8863.6455.1835.5262.4262.1172.3431.7830.2541.4845.9162.5633.2667.0556.2155.8235.4851.7775.5428.6460.8460.5839.8833.7757.3652.3557.8837.3737.6638.8133.0542.7169.5345.3347.8939.3867.6558.3344.5170.0366.365.7966.1562.7649.8851.138.6476.026.5656.8870.2333.7739.9750.9966.1241.3663.5449.636.9358.1126.9951.3861.2848.0338.5643.774.866.9355.1145.3539.3262.2749.455.0259.3946.2955.9175.2925.7138.5463.0942.5845.6855.951.2361.9268.244.2738.9134.2532.6841.9232.4566.761.9237.8735.1437.9669.4135.6161.4734.0849.7937.9126.1339.7233.4438.5168.5236.9331.9655.6846.635.9168.661.9966.7939.0165.8161.3343.0131.1742.6368.0341.9744.248.5439.4135.1738.3671.5664.9337.9275.152.2457.0626.2847.5937.0835.936.6163.9835.4955.3375.0928.074.9428.5765.8146.3558.2350.8446.740.5834.0450.4571.826.0571.8530.6658.9171.7764.7638.534.7434.9544.5745.4374.3331.2670.7145.4326.1167.730.7739.5632.9335.9444.0825.5768.075.5364.734.8428.1852.0370.3736.1934.4961.736.3135.548.1227.6434.2339.267.8235.8464.0139.134.1275.8354.046.9537.4253.6733.9475.9941.8665.7736.8145.3930.7930.1445.232.9254.9632.0738.4265.8861.1535.1650.7460.339.4546.1773.4173.4744.5430.7942.943.6869.7266.3156.8135.948.2137.4132.661.9655.2372.3144.4445.9337.3567.5448.1853.4125.5837.0643.732.9244.0526.1935.3237.448.1441.8638.3928.5957.3635.9945.8368.2636.7966.6458.5636.4573.760.5242.5125.7934.3564.1271.1625.1863.3143.535.6143.4933.0349.958.8235.9745.0270.0928.8939.1441.7361.3367.9640.5940.2535.9250.4639.8773.3762.8865.6535.1333.9655.3465.6533.9364.033.9230.4536.3964.145.5540.3133.755.7142.0175.0230.2261.4327.0760.6359.8932.046.2944.8836.6635.961.6932.1127.4955.9727.2866.9430.3139.0573.6330.7938.4535.2932.0663.2338.6970.7628.057.245.6651.933.5863.3847.6972.2831.0467.4730.8738.0343.7627.970.7547.536.239.2846.2170.1336.2640.8240.5153.3735.3259.2867.6532.4942.450.9742.7931.9861.8140.833.2156.9630.5236.7942.9843.2965.2930.1331.6332.3739.3133.6954.4129.533.0436.3370.3644.7853.5170.7627.2971.6835.9131.8135.7332.4342.4848.7732.4441.4348.0460.5964.9370.4261.0140.9864.4634.3353.3849.5330.2437.4943.754.1764.9633.0331.1171.7135.6670.7973.2772.2375.9838.7849.1445.3630.0228.6847.1539.1232.7532.5673.9432.5653.5359.9462.4663.6353.0327.5626.8744.9447.1563.2938.6829.1665.4631.2167.2538.9264.2533.5833.4345.0339.6742.5965.760.841.0947.0836.7155.9267.5549.7626.1249.241.337.0860.2926.4933.4448.1443.7471.835.7730.2554.1848.4273.8640.638.4255.8449.0175.075.5771.031.9526.9675.1926.1857.9932.1164.7364.1534.1340.5939.157.061.5435.2365.7432.9374.5828.1940.8650.4636.348.7337.4748.8939.7141.6365.4956.0235.0726.8832.2531.2352.6231.0740.5871.0374.2236.058.5544.2743.2346.2574.758.4960.4244.957.6445.438.231.3659.0555.7733.1830.9866.6555.1557.166.533.6548.0933.172.7252.6472.6440.0340.8845.8160.6745.8257.3445.8352.829.9532.3632.6731.0675.5135.4836.7740.9765.3837.5934.3374.8935.5525.9573.8675.2932.7566.8470.4358.2646.4932.8170.4970.1626.0253.1774.8532.8567.5139.9230.7575.3841.6270.4839.0538.6837.5545.635.9937.9471.8660.6225.2327.7837.4655.5155.6744.4958.9353.9626.4451.3828.832.1635.4857.1634.0231.9729.2450.8433.8245.555.5239.8575.4841.4772.1875.6164.538.9747.6372.8138.3438.4234.1337.3368.9439.8345.3235.959.4352.135.8464.9135.8973.937.7754.8768.5975.0945.1532.7142.9855.1935.6669.6959.2966.5654.4835.6939.2265.556.5549.1534.5639.2668.2862.0868.6834.7364.1330.9740.0748.6545.2133.5249.2236.0364.0438.1756.8974.2844.1326.0731.529.333.9630.1158.6340.0953.1153.6836.9143.152.2435.8846.7339.670.1236.1434.0236.6571.3673.2930.7557.0630.6836.8538.0132.2138.0944.8433.0752.2940.6638.2465.1937.2370.848.170.3255.9739.0772.7230.2258.5739.0946.8640.4242.0951.2745.3634.8131.9963.0565.7464.3144.4761.8133.1838.0833.160.9626.3649.8473.9326.139.1563.2935.2763.166.1236.6839.4132.2965.8834.7261.1456.3147.4734.3142.7745.0445.9825.066.245.5849.5634.5737.9266.529.5242.8144.2562.4960.0634.0142.338.1640.3630.7961.2344.3129.5371.6439.0135.1350.8546.3656.7532.131.2571.9965.1137.5330.3428.8359.7125.8257.8656.0236.1665.333.0757.6540.9275.5570.2237.471.2439.5827.7853.3552.2449.2438.2532.3775.1428.9636.7359.9944.0255.3353.9334.5430.6541.4337.6427.3534.2245.1661.6635.8127.9359.0632.3938.0570.2355.5840.5555.0452.6831.5538.8226.2256.9730.1645.9330.8341.1236.9747.4633.0925.1140.0931.369.2425.0631.4767.9736.9561.8445.8661.0174.3664.0335.0265.963.4361.546.6439.0939.9932.8336.4266.3564.7831.5728.1547.4972.762.630.7140.037.3545.2856.2429.5846.4271.3648.8462.1736.536.8538.1535.769.3965.0737.9257.4362.1237.5146.1670.2448.1667.6635.6855.1525.7353.5564.868.8962.545.6130.3443.3629.0259.6129.2960.2759.2125.9965.9341.0240.8645.4867.0257.2962.6536.044.0758.9135.1340.8762.6968.1126.1667.7930.6647.2438.4934.1573.850.5346.0240.5747.3736.352.7675.7534.2968.1874.0133.1566.8830.6937.1554.8758.5630.2549.6845.8872.3933.4957.5251.0336.6329.7835.2632.2473.5942.3339.3130.7438.9862.5670.173.2736.6640.4638.8232.2640.2157.8845.8861.9230.5851.5625.1752.4631.3433.3369.1433.834.1447.6149.4952.6142.3139.8733.6755.1636.7146.042.6531.6739.8333.2361.0849.9234.162.037.9250.6654.9925.0826.3230.0838.7239.1938.2835.8627.0165.7134.5244.0136.5131.7235.6635.4770.0941.4839.2428.8346.1355.7152.0454.8465.9849.6338.8765.436.5336.474.4866.3161.3143.1765.7638.8740.2736.2842.8334.7427.0741.2645.5830.6660.5155.332.8565.4655.2727.5273.2845.2163.4861.3763.9650.7857.030.7734.7527.2465.9737.2850.635.5538.4846.2259.5731.7639.1654.538.8336.9927.3538.3975.0132.9373.0140.0572.773.0339.2862.9858.3343.233.7856.830.4950.9375.4141.7339.5334.0236.934.6426.4436.8529.4440.8456.5265.6465.2636.0857.9651.5740.1155.2566.0734.3675.3149.4632.5545.2446.5271.0933.5630.8756.3635.1325.1743.7645.2537.5936.7330.2965.9371.2347.4346.3653.2746.8855.0230.9443.9663.7335.0958.9837.3967.3525.1131.8936.060.9471.447.2138.2559.7140.666.5974.4355.153.1148.8234.0464.438.1845.0839.5946.8830.2835.0933.6774.2255.7569.2851.4375.9361.056.5340.6564.6458.7470.9731.0832.5765.2740.3865.7760.2436.3745.9738.9752.5129.4751.7137.4154.0764.4741.6451.5337.4325.3131.437.8474.0627.1739.444.3433.8331.1137.9554.8828.6269.1631.2345.8764.6731.0966.9930.8228.0460.3261.2439.4639.1240.7461.2135.9235.8747.729.641.4933.6938.8852.2535.3333.4629.1428.6226.5356.4255.2531.1149.8572.771.754.8228.7169.4961.848.5240.933.745.2829.4269.0631.1843.4147.1863.1335.4335.9451.973.8855.5534.5660.6661.7975.4850.7250.9665.3435.4732.344.3652.1232.4855.8535.6627.8134.2626.3946.9728.7438.9439.3167.1152.6852.7237.833.449.0435.3964.9758.9754.5254.961.4566.1674.1632.9373.8740.7333.4271.2740.739.8464.6233.148.3350.4736.4863.637.566.7430.748.5845.525.8451.454.8641.1155.2436.8168.9927.8358.1158.639.6574.162.7130.4847.3965.6242.456.8351.7743.5664.0431.5970.4360.7435.0527.061.7840.9531.2370.9452.4769.4935.4141.3434.2462.1355.8344.8862.3838.2953.6240.8843.7141.8247.8964.7829.5951.5345.6838.6633.6357.1443.1672.7565.7475.3939.1530.9938.3572.4662.8375.4134.9948.6563.7437.2140.4140.1627.955.8459.2530.7428.4229.9447.0528.739.2542.8475.8631.8153.057.034.0165.5326.6629.3955.5234.3645.4347.3455.9974.6573.7838.6838.5363.3350.953.8267.5857.0566.0265.065.3939.4733.4668.3444.6762.7631.5328.1141.2329.2155.5172.7438.0239.1858.656.6445.3235.4259.4440.3948.6432.9375.7154.4263.7427.0538.9928.349.4856.8327.1729.6241.9240.626.8531.7860.441.1631.541.360.3743.0439.8356.8335.3147.5135.8445.651.4758.0839.6935.0128.2466.3958.2661.5734.2435.0632.6330.343.0973.5866.5944.127.3936.3231.0532.6369.2742.0774.2375.0629.4264.0657.7549.3745.230.3945.8536.4147.9233.3139.2652.1831.3158.5362.1364.3334.6845.8759.6631.5866.1260.1259.8938.7846.87\' to numeric\n\n\nThe above exception was the direct cause of the following exception:\n\nTypeError: agg function failed [how->mean,dtype->object]\n\n
\nThought: '}