• Skip to primary navigation
  • Skip to content
  • Skip to footer
Develop Record
  • About
  • Categories
  • tags
    1. Home
    2. /
    3. Leetcode_python
    4. /
    5. 1517.Find Users With Valid E-mails
    DDOING

    DDOING

    Record my study

    • Korea
    • GitHub
    • Instagram
    • 📂 Total Posts: 146
    • AI
      • Pytorch (10)
      • Paper (49)
      • Theory (18)
      • Report (1)
      • Troubleshooting (1)
      Program Language
      • Python (15)
      Algorithm
      • Programmers[Python] (3)
      • Leetcode[Python] (42)
      • BAEKJOON[Python] (5)
      Github
      • Github basic (1)

    1517.Find Users With Valid E-mails

    On This Page

    • My code

    My code

    1
    2
    3
    4
    5
    6
    7
    
    import pandas as pd
    
    def valid_emails(users: pd.DataFrame) -> pd.DataFrame:
        # 정규식 
        valid_emails_df = users[users['mail'].str.match(r'^[A-Za-z][A-Za-z0-9_\.\-]*@leetcode(\?com)?\.com$')]
        
        return valid_emails_df
    

    태그: Leetcode, Python

    카테고리: Leetcode_Python

    업데이트: August 14, 2023

    이전 다음

    참고

    2024.04.30

    [Paper] Paint by Example: Exemplar-based Image Editing with Diffusion Models

    Paper Diffusion

    2024.04.17

    [Paper] DEVA: Anything with Decoupled Video Segmentation

    Paper Anything video_segmentation XMem

    2024.04.14

    [Paper] Video Panoptic Segmentation

    Paper Cityscape_VPS video_segmentation VIPER

    2024.04.12

    [Paper] Video Object Segmentation with Episodic Graph Memory Networks

    Paper video_segmentation
    • 팔로우:
    • GitHub
    • Instagram
    • 피드
    © 2024 DDOING. Powered by Jekyll & Minimal Mistakes.