感觉不好

博主近期诸事纷至,感觉不佳,想结束手上工作去另一个城市静一静。走之前会整理工作做个总结,等调整好状态再回来,希望借此获得心灵慰藉。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

最近,很多的事情都一起来了。

感觉很不好。

我想马上结束手上的工作,一个人去一个地方,静一下。去另一个城市。

回家?现在不可能的了。

也许会疯狂,也许不会。可是,我会把手上的工作结束后,走。离开。

也许会有很夸张的行为。也许不会。

我要走了。

走之前,会把曾经做过的东西整理一下,放在这里,一个总结。

等我把自己调整好,再回来。

就像某人说要去西藏,我不能去。不过,可以去别的地方。我也想得到心灵的一点点慰藉。

ValueError Traceback (most recent call last) Cell In[43], line 1 ----> 1 da2 = pd.DataFrame({ 2 'target': ['disease', 'health'], 3 'xb': ['男', '女'], 4 'education': ['高中以下','高中以上'], 5 'income': ['小于10万', '10万以上'], 6 'work': ['生产运输人员', '专业技术人员','农商人员','其他'], 7 'fpzd': ['正常','皮下脂肪型肥胖','内脏脂肪型肥胖'], 8 'bc': ['<5年', '5-10年','10-15年','>15年'], 9 'gxy': ['否','是'],'jyy': ['否','是'], 10 'jzs': ['否','是'],'jty': ['否','是'], 11 'jtfa': ['否', '降糖药+胰岛素','胰岛素','口服降糖药'],'xys': ['否', '偶尔吸烟','每天吸烟'], 12 'yjs': ['否', '偶尔饮酒','每天饮酒'],'shucai': ['少于200g', '200-300g','300-400g','400g以上'], 13 'shuiguo': ['少于200g', '200g以上'],'scsgl': ['少于500克', '500克以上'], 14 'fish': ['小于等于1次', '大于等于2次,总量小于200克','大于等于2次,总量大于200克'], 15 'dzp': ['小于100克', '100-250','250-400','400g以上'],'syl': ['小于4克', '4~6g','6~8g','8g以上'], 16 'yl': ['从不喝或很少喝', '每周1-2瓶','每周3瓶以上'],'jlhd': ['否','是'],'zdhd': ['否','是'], 17 'smqk': ['睡眠感觉良好','睡眠感觉不好'],'wushui': ['否','是'], 'smsj': ['小于7小时', '7-10小时','>10小时'], 18 'ydjc': ['正常','异常'], 'sjcd': ['正常','异常'], 'xgjc': ['正常','斑块形成','内膜毛糙']}) File D:\anaconda3\Lib\site-packages\pandas\core\frame.py:778, in DataFrame.__init__(self, data, index, columns, dtype, copy) 772 mgr = self._init_mgr( 773 data, axes={"index": index, "columns": columns}, dtype=dtype, copy=copy 774 ) 776 elif isinstance(data, dict): 777 # GH#38939 de facto copy defaults to False only in non-dict cases --> 778 mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager) 779 elif isinstance(data, ma.MaskedArray): 780 from numpy.ma import mrecords File D:\anaconda3\Lib\site-packages\pandas\core\internals\construction.py:503, in dict_to_mgr(data, index, columns, dtype, typ, copy) 499 else: 500 # dtype check to exclude e.g. range objects, scalars 501 arrays = [x.copy() if hasattr(x, "dtype") else x for x in arrays] --> 503 return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy) File D:\anaconda3\Lib\site-packages\pandas\core\internals\construction.py:114, in arrays_to_mgr(arrays, columns, index, dtype, verify_integrity, typ, consolidate) 111 if verify_integrity: 112 # figure out the index, if necessary 113 if index is None: --> 114 index = _extract_index(arrays) 115 else: 116 index = ensure_index(index) File D:\anaconda3\Lib\site-packages\pandas\core\internals\construction.py:677, in _extract_index(data) 675 lengths = list(set(raw_lengths)) 676 if len(lengths) > 1: --> 677 raise ValueError("All arrays must be of the same length") 679 if have_dicts: 680 raise ValueError( 681 "Mixing dicts with non-Series may lead to ambiguous ordering." 682 ) ValueError: All arrays must be of the same length
最新发布
08-05
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值