<jupyter_start><jupyter_text>Lambdify in symbolic module Importing required modules<jupyter_code>import sympy
from sympy.abc import x, y
from sympy import symbols
from einsteinpy.symbolic import BaseRelativityTensor

sympy.init_printing()<jupyter_output><empty_output><jupyter_text>Calculating a Base Relativity Tensor<jupyter_code>syms = symbols("x y")
x, y = syms
T = BaseRelativityTensor([[x, 1],[0, x+y]], syms, config="ll")<jupyter_output><empty_output><jupyter_text>Calling the lambdify function<jupyter_code>args, func = T.tensor_lambdify()
args<jupyter_output><empty_output><jupyter_text>`args` indicates the order in which arguments should be passed to the returned function `func` Executing the returned function for some value<jupyter_code>func(2, 1)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.09734513274336283, 'fraction_numerical': 0.0050568900126422255, 'mean_word_length': 9.702702702702704, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '42647', 'license': 'Apache-2.0', 'n_tokens_mistral': 279, 'n_tokens_neox': 271, 'n_words': 65, 'path': 'EinsteinPy/Lambdify symbolic calculation.ipynb', 'repo_name': 'IsaacW4/Advanced-GR', 'size': '791'}