note25140 님의 블로그

  • 홈
  • 태그
  • 방명록

2025/11/25 1

내일배움캠프 데이터분석가_10기 27회차

▶학습내용*고객세그먼트하기 1) 채널별 아이디별로 총구매금액, 평균금액,최근구매일,구매횟수 구하기 customer_segment=merge_df4.groupby(['customer_id','sales_channel_id']).agg(sum_price=('price','sum'),avg_price=('price','mean'),resent=('t_dat','max'),count=('price','count')).reset_index() 2) 구매횟수 ,구매빈도 구하기 상위30% 기준으로 하여 구해 보았다. customer_segment1=customer_segment[customer_segment['sales_channel_id']==1] # 채널별로 나눠서 해야하니까 조건을 걸어줘야함 한사람이 온..

카테고리 없음 2025.11.25
이전
1
다음
더보기
프로필사진

note25140 님의 블로그

note25140 님의 블로그 입니다.

  • 분류 전체보기 (29) N

Tag

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/11   »
일 월 화 수 목 금 토
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바