Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zavoraad authored Feb 27, 2024
1 parent dcaa5df commit d7a9dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Includes filename column but not shown below
|NM1*40*2*12345678...| 6| *| 10| NM1| :|
"""

# (2) Functional header / ST & SE segments
# (2) Individual Transactions (Functional header) / ST & SE segments
trxDF = ( df.withColumn("filename", input_file_name()).rdd
.map(lambda x: (x.asDict().get("filename"),x.asDict().get("value")))
.map(lambda x: (x[0], EDI(x[1])))
Expand Down

0 comments on commit d7a9dad

Please sign in to comment.