본문 바로가기

Row18

Python 판다스 데이터프레임의 열 또는 행에서 목록을 가져오는 방법은 무엇인가요?, Get list from pandas dataframe column or row? 질문 나는 다음과 같이 엑셀 문서에서 가져온 데이터프레임 df를 가지고 있습니다: cluster load_date budget actual fixed_price A 1/1/2014 1000 4000 Y A 2/1/2014 12000 10000 Y A 3/1/2014 36000 2000 Y B 4/1/2014 15000 10000 N B 4/1/2014 12000 11500 N B 4/1/2014 90000 11000 N C 7/1/2014 22000 18000 N C 8/1/2014 30000 28960 N C 9/1/2014 53000 51200 N 나는 for루프를 실행하고 각 클러스터마다 엑셀 워크시트를 생성하기 위해 열 1의 내용인 df['cluster']을 리스트로 반환하고 싶습니다. 또한, 전.. 2023. 10. 5.
Flutter 수직 구분선이 표시되지 않습니다., Vertical Divider not showing 질문 저는 VerticalDivider 위젯을 사용하여 Row에서 항목을 분리하려고 합니다. 여기에서 전체 본문을 확인할 수 있습니다. Row: Row( children: [ Text('420 게시물', style: TextStyle(color: Color(0xff666666)),), VerticalDivider( thickness: 2, width: 20, color: Colors.black, ), Text('420 게시물', style: TextStyle(color: Color(0xff666666)),) ], ), 답변 당신의 Row를 IntrinsicHeight로 감싸세요, IntrinsicHeight( child: Row( children: [ Text('420 게시물', style: TextSt.. 2023. 9. 28.
Flutter BoxConstraints는 무한한 너비를 강제합니다., BoxConstraints forces an infinite width 질문 열에 행을 추가할 때 오류가 발생합니다. 다음과 같은 오류가 발생합니다: I/flutter ( 6449): ══╡ RENDERING LIBRARY에 의해 잡힌 예외 ╞═════════════════════════════════════════════════════════ I/flutter ( 6449): performLayout() 중 다음 단언식이 발생했습니다.: I/flutter ( 6449): BoxConstraints는 무한한 너비를 강제합니다. I/flutter ( 6449): 이러한 잘못된 제약 조건이 RenderAnimatedOpacity의 layout() 함수에 제공되었습니다. 또한 참고로 제 코드는 다음과 같습니다: return new Scaffold( backgroundColor: .. 2023. 9. 26.
Flutter에서 Row()의 배경색을 설정하는 방법은 무엇인가요?, How to set the background color of a Row() in Flutter? 질문 I'm trying to set up a background color for a Row() widget, but Row itself has no background color or color attribute. I've been able to set the background color of a container to grey, right before the purple-backgrounded text, but the text itself does not fill the background completely and the following spacer does not take any color at all. So how can I have the Row background set to the ".. 2023. 9. 21.