geotech.lab.index.is_nonplastic#

DataFrame.geotech.lab.index.is_nonplastic()#

Check if a layer is nonplastic.

A layer is considered nonplastic if the plastic limit is greater than or equal to the liquid limit, or if either the liquid limit or plastic limit are NA.

Returns:
Series

Boolean series indicating whether each layer is nonplastic.

References

[1]

ASTM International. (2018). Standard test methods for liquid limit, plastic limit, and plasticity index of soils (ASTM D4318-17e1). https://doi.org/10.1520/D4318-17E01

Examples

>>> df = pd.DataFrame(
...     {
...         "point_id": ["BH-1", "BH-1", "BH-1"],
...         "bottom": [1.0, 2.0, 3.0],
...         "liquid_limit": [47.5, None, 30.0],
...         "plastic_limit": [25.3, 50.0, 50.0],
...     }
... )
>>> df.geotech.lab.index.is_nonplastic()
0    False
1     True
2     True
Name: is_nonplastic, dtype: bool