시작하기무료로 시작하기

Expectation 복사하기

이 연습 문제에서는 오류 없이 한 Expectation Suite에서 다른 Expectation Suite로 Expectation을 복사하는 방법을 연습할 거예요. 이미 두 개의 Expectation Suite가 준비되어 있습니다. 하나는 suite, 다른 하나는 new_suite입니다. 복사할 Expectation은 변수 expectation에 할당되어 있어요. Great Expectations와 pandas는 각각 gxpd로 사용할 수 있습니다.

이 연습은 강의의 일부입니다

Great Expectations로 배우는 데이터 품질 입문

강의 보기

실습형 인터랙티브 연습

이 예제를 이 샘플 코드를 완성하여 풀어보세요.

# Copy Expectation
expectation_copy = expectation.____()

# Set New Expectation ID to None
expectation_copy.____ = ____
코드 편집 및 실행