fix: use generic Difference type in example
This commit is contained in:
@@ -21,7 +21,7 @@ lat + lon # Invalid operation
|
|||||||
# Registered operations are permitted
|
# Registered operations are permitted
|
||||||
lat1: Latitude = lat[0]
|
lat1: Latitude = lat[0]
|
||||||
lat2: Latitude = lat[1]
|
lat2: Latitude = lat[1]
|
||||||
lat_diff: LatitudeDiff = lat2 - lat1 # Valid operation
|
lat_diff: Difference[Latitude] = lat2 - lat1 # Valid operation
|
||||||
|
|
||||||
# In addition to the type, a column can have one or more constraints, either defined inline or in a separate file
|
# In addition to the type, a column can have one or more constraints, either defined inline or in a separate file
|
||||||
df2: Frame[
|
df2: Frame[
|
||||||
|
|||||||
Reference in New Issue
Block a user