how to import term by name in csv file in drupal 7?
Try Views data export

This module is designed to provide a way to export large amounts of
data from views. It provides a display plugin that can rendered
progressively in a batch. Style plugins are included that support
exporting in the following types:
CSV
Microsoft XLS
Microsoft DOC
Basic TXT
XML.

Requirements
The batched export functionality of this module requires a MySQL database.
This module also requires version 2.7 or higher of views.