@@ -92,7 +92,7 @@ that cannot be achieved with built-in pandas functions.
9292When to use: :meth: `DataFrame.apply ` is suitable when no alternative vectorized method is available, but consider
9393optimizing performance with vectorized operations wherever possible.
9494
95- Examples of usage can be found :ref: `here<api.dataframe.apply> `.
95+ Examples of usage can be found :ref: `here <api.dataframe.apply >`.
9696
9797:meth: `DataFrame.agg `
9898~~~~~~~~~~~~~~~~~~~~~
@@ -103,7 +103,7 @@ specifically designed for aggregation operations.
103103When to use: Use :meth: `DataFrame.agg ` for performing aggregations like sum, mean, or custom aggregation
104104functions across groups.
105105
106- Examples of usage can be found :ref: `here<api.dataframe.agg> `.
106+ Examples of usage can be found :ref: `here <api.dataframe.agg >`.
107107
108108:meth: `DataFrame.transform `
109109~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -113,7 +113,7 @@ It’s generally faster than apply because it can take advantage of pandas' inte
113113
114114When to use: When you need to perform element-wise transformations that retain the original structure of the DataFrame.
115115
116- Documentation can be found :ref: `here<api.dataframe.transform> `.
116+ Documentation can be found :ref: `here <api.dataframe.transform >`.
117117
118118Attempting to use common aggregation functions such as ``mean `` or ``sum `` will result in
119119values being broadcasted to the original dimensions:
@@ -176,7 +176,7 @@ for this purpose compared to :meth:`DataFrame.apply` because of its better perfo
176176
177177When to use: Use map for applying element-wise UDFs to DataFrames or Series.
178178
179- Documentation can be found :ref: `here<api.dataframe.map> `.
179+ Documentation can be found :ref: `here <api.dataframe.map >`.
180180
181181:meth: `DataFrame.pipe `
182182~~~~~~~~~~~~~~~~~~~~~~
@@ -186,7 +186,7 @@ It is a helpful tool for organizing complex data processing workflows.
186186
187187When to use: Use pipe when you need to create a pipeline of transformations and want to keep the code readable and maintainable.
188188
189- Documentation can be found :ref: `here<api.dataframe.pipe> `.
189+ Documentation can be found :ref: `here <api.dataframe.pipe >`.
190190
191191
192192Best Practices
0 commit comments