Last active
May 20, 2022 21:04
-
-
Save freegor/2f0b37d50fd43a22b9b1a833845801e4 to your computer and use it in GitHub Desktop.
Pydantic example 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas | |
from pydantic import BaseModel | |
class Dataset(BaseModel): | |
id: str | |
name: str | |
dataframe: pandas.DataFrame |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment