Describe the bug
When passing a boolean value for a flag such as index_col=False in add_csv_asset() (which is the option to disable column indexing in pandas, for instance), the pydantic validator (according to my debugging) seems to erroneously convert it to string, causing pandas to think it must use named column "False" for indexing the dataframe, thus it's impossible to disable such behavior.
This probably is affecting other bool flag as well and perhaps other engines too.
Expected behavior
Boolean values should be respected and not converted to string.
Environment (please complete the following information):
- Operating System: Mac
- Great Expectations Version: 1.4.5
- Data Source: Pandas
Describe the bug
When passing a boolean value for a flag such as index_col=False in add_csv_asset() (which is the option to disable column indexing in pandas, for instance), the pydantic validator (according to my debugging) seems to erroneously convert it to string, causing pandas to think it must use named column "False" for indexing the dataframe, thus it's impossible to disable such behavior.
This probably is affecting other bool flag as well and perhaps other engines too.
Expected behavior
Boolean values should be respected and not converted to string.
Environment (please complete the following information):